v0.15.4
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)
 

Public Attributes

std::string blockName
 
Range ents
 
double val
 
double bulkModulusK
 

Detailed Description

Definition at line 538 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ ExternalStrain()

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

Definition at line 2510 of file EshelbianPlasticity.cpp.

2512 : blockName(name), ents(ents) {
2513
2514 blockName = name;
2515 if (attr.size() < 2) {
2517 "Wrong size of external strain attribute");
2518 }
2519
2520 val = attr[0];
2521 bulkModulusK = attr[1];
2522
2523 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain " << name;
2524 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain val " << val;
2525 MOFEM_LOG("EP", Sev::inform)
2526 << "Add ExternalStrain bulk modulus K " << bulkModulusK;
2527 MOFEM_LOG("EP", Sev::inform)
2528 << "Add ExternalStrain nb. of tets " << ents.size();
2529}
#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 540 of file EshelbianPlasticity.hpp.

◆ bulkModulusK

double EshelbianPlasticity::ExternalStrain::bulkModulusK

Definition at line 543 of file EshelbianPlasticity.hpp.

◆ ents

Range EshelbianPlasticity::ExternalStrain::ents

Definition at line 541 of file EshelbianPlasticity.hpp.

◆ val

double EshelbianPlasticity::ExternalStrain::val

Definition at line 542 of file EshelbianPlasticity.hpp.


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