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

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

Collaboration diagram for EshelbianPlasticity::ExternalStrain:
[legend]

Public Member Functions

 ExternalStrain (std::string name, std::vector< double > attr, Range ents, std::string load_history_file="")
 

Public Attributes

std::string blockName
 
std::string loadHistoryFile
 
Range ents
 
double val
 
double bulkModulusK
 

Detailed Description

Definition at line 838 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ ExternalStrain()

EshelbianPlasticity::ExternalStrain::ExternalStrain ( std::string  name,
std::vector< double attr,
Range  ents,
std::string  load_history_file = "" 
)

Definition at line 2871 of file EshelbianPlasticity.cpp.

2873 : blockName(name), loadHistoryFile(load_history_file), ents(ents) {
2874
2875 blockName = name;
2876 if (attr.size() < 2) {
2878 "Wrong size of external strain attribute");
2879 }
2880
2881 val = attr[0];
2882 bulkModulusK = attr[1];
2883
2884 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain " << name;
2885 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain val " << val;
2886 MOFEM_LOG("EP", Sev::inform)
2887 << "Add ExternalStrain bulk modulus K " << bulkModulusK;
2888 MOFEM_LOG("EP", Sev::inform)
2889 << "Add ExternalStrain bulk modulus K " << bulkModulusK;
2890 MOFEM_LOG("EP", Sev::inform)
2891 << "Add ExternalStrain nb. of tets " << ents.size();
2892}
#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::ExternalStrain::blockName

Definition at line 841 of file EshelbianPlasticity.hpp.

◆ bulkModulusK

double EshelbianPlasticity::ExternalStrain::bulkModulusK

Definition at line 845 of file EshelbianPlasticity.hpp.

◆ ents

Range EshelbianPlasticity::ExternalStrain::ents

Definition at line 843 of file EshelbianPlasticity.hpp.

◆ loadHistoryFile

std::string EshelbianPlasticity::ExternalStrain::loadHistoryFile

Definition at line 842 of file EshelbianPlasticity.hpp.

◆ val

double EshelbianPlasticity::ExternalStrain::val

Definition at line 844 of file EshelbianPlasticity.hpp.


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