v0.15.5
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 550 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ ExternalStrain()

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

Definition at line 2527 of file EshelbianPlasticity.cpp.

2529 : blockName(name), ents(ents) {
2530
2531 blockName = name;
2532 if (attr.size() < 2) {
2534 "Wrong size of external strain attribute");
2535 }
2536
2537 val = attr[0];
2538 bulkModulusK = attr[1];
2539
2540 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain " << name;
2541 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain val " << val;
2542 MOFEM_LOG("EP", Sev::inform)
2543 << "Add ExternalStrain bulk modulus K " << bulkModulusK;
2544 MOFEM_LOG("EP", Sev::inform)
2545 << "Add ExternalStrain nb. of tets " << ents.size();
2546}
#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 552 of file EshelbianPlasticity.hpp.

◆ bulkModulusK

double EshelbianPlasticity::ExternalStrain::bulkModulusK

Definition at line 555 of file EshelbianPlasticity.hpp.

◆ ents

Range EshelbianPlasticity::ExternalStrain::ents

Definition at line 553 of file EshelbianPlasticity.hpp.

◆ val

double EshelbianPlasticity::ExternalStrain::val

Definition at line 554 of file EshelbianPlasticity.hpp.


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