v0.16.0
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 801 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ SpringBc()

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

Definition at line 2835 of file EshelbianPlasticity.cpp.

2836 : blockName(name), faces(faces) {
2837
2838 blockName = name;
2839 if (attr.size() < 2) {
2841 "Wrong size of spring BC attributes");
2842 }
2843
2844 normalStiffness = attr[0];
2845 tangentialStiffness = attr[1];
2846
2847 MOFEM_LOG("EP", Sev::inform) << "Add SpringBc " << name;
2848 MOFEM_LOG("EP", Sev::inform) << "Add SpringBc kn " << normalStiffness;
2849 MOFEM_LOG("EP", Sev::inform) << "Add SpringBc kt " << tangentialStiffness;
2850 MOFEM_LOG("EP", Sev::inform) << "Add SpringBc nb. of faces " << faces.size();
2851}
#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 803 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::SpringBc::faces

Definition at line 804 of file EshelbianPlasticity.hpp.

◆ normalStiffness

double EshelbianPlasticity::SpringBc::normalStiffness

Definition at line 805 of file EshelbianPlasticity.hpp.

◆ tangentialStiffness

double EshelbianPlasticity::SpringBc::tangentialStiffness

Definition at line 806 of file EshelbianPlasticity.hpp.


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