v0.15.0
Loading...
Searching...
No Matches
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 540 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ ExternalStrain()

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

Definition at line 2010 of file EshelbianPlasticity.cpp.

2012 : blockName(name), ents(ents) {
2013
2014 blockName = name;
2015 if (attr.size() < 2) {
2017 "Wrong size of external strain attribute");
2018 }
2019
2020 val = attr[0];
2021 bulkModulusK = attr[1];
2022
2023 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain " << name;
2024 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain val " << val;
2025 MOFEM_LOG("EP", Sev::inform) << "Add ExternalStrain bulk modulus K "
2026 << bulkModulusK;
2027 MOFEM_LOG("EP", Sev::inform)
2028 << "Add ExternalStrain nb. of tets " << ents.size();
2029
2030
2031}
#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 542 of file EshelbianPlasticity.hpp.

◆ bulkModulusK

double EshelbianPlasticity::ExternalStrain::bulkModulusK

Definition at line 545 of file EshelbianPlasticity.hpp.

◆ ents

Range EshelbianPlasticity::ExternalStrain::ents

Definition at line 543 of file EshelbianPlasticity.hpp.

◆ val

double EshelbianPlasticity::ExternalStrain::val

Definition at line 544 of file EshelbianPlasticity.hpp.


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