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

Public Attributes

std::string blockName
 
Range ents
 
double val
 
double bulkModulusK
 

Detailed Description

Definition at line 551 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ ExternalStrain()

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

Definition at line 2000 of file EshelbianPlasticity.cpp.

2002 : blockName(name), ents(ents) {
2003
2004 blockName = name;
2005 if (attr.size() < 2) {
2007 "Wrong size of external strain attribute");
2008 }
2009
2010 val = attr[0];
2011 bulkModulusK = attr[1];
2012
2013 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain " << name;
2014 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain val " << val;
2015 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain bulk modulus K "
2016 << bulkModulusK;
2017 MOFEM_LOG("EP", Sev::inform)
2018 << "Add ExternalStrain nb. of tets " << ents.size();
2019
2020
2021}
#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 553 of file EshelbianPlasticity.hpp.

◆ bulkModulusK

double EshelbianPlasticity::ExternalStrain::bulkModulusK

Definition at line 556 of file EshelbianPlasticity.hpp.

◆ ents

Range EshelbianPlasticity::ExternalStrain::ents

Definition at line 554 of file EshelbianPlasticity.hpp.

◆ val

double EshelbianPlasticity::ExternalStrain::val

Definition at line 555 of file EshelbianPlasticity.hpp.


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