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 538 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ ExternalStrain()

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

Definition at line 2007 of file EshelbianPlasticity.cpp.

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