v0.16.3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
EshelbianPlasticity::SpringBc Struct Reference

#include "users_modules/eshelbian_plasticity/src/EshelbianPlasticity.hpp"

Collaboration diagram for EshelbianPlasticity::SpringBc:
[legend]

Public Member Functions

 SpringBc (std::string name, std::vector< double > attr, Range faces)
 

Public Attributes

std::string blockName
 
Range faces
 
double normalStiffness
 
double tangentialStiffness
 

Detailed Description

Definition at line 977 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ SpringBc()

EshelbianPlasticity::SpringBc::SpringBc ( std::string  name,
std::vector< double >  attr,
Range  faces 
)

Definition at line 2959 of file EshelbianPlasticity.cpp.

2960 : blockName(name), faces(faces) {
2961
2962 blockName = name;
2963 if (attr.size() < 2) {
2965 "Wrong size of spring BC attributes");
2966 }
2967
2968 normalStiffness = attr[0];
2969 tangentialStiffness = attr[1];
2970
2971 MOFEM_LOG("EP", Sev::inform) << "Add SpringBc " << name;
2972 MOFEM_LOG("EP", Sev::inform) << "Add SpringBc kn " << normalStiffness;
2973 MOFEM_LOG("EP", Sev::inform) << "Add SpringBc kt " << tangentialStiffness;
2974 MOFEM_LOG("EP", Sev::inform) << "Add SpringBc nb. of faces " << faces.size();
2975}
#define CHK_THROW_MESSAGE(err, msg)
Check and throw MoFEM exception.
@ MOFEM_DATA_INCONSISTENCY
Definition definitions.h:31
#define MOFEM_LOG(channel, severity)
Log.

Member Data Documentation

◆ blockName

std::string EshelbianPlasticity::SpringBc::blockName

Definition at line 979 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::SpringBc::faces

Definition at line 980 of file EshelbianPlasticity.hpp.

◆ normalStiffness

double EshelbianPlasticity::SpringBc::normalStiffness

Definition at line 981 of file EshelbianPlasticity.hpp.

◆ tangentialStiffness

double EshelbianPlasticity::SpringBc::tangentialStiffness

Definition at line 982 of file EshelbianPlasticity.hpp.


The documentation for this struct was generated from the following files: