v0.15.0
Loading...
Searching...
No Matches
EshelbianPlasticity::AnalyticalTractionBc Struct Reference

#include "users_modules/eshelbian_plasticity/src/EshelbianPlasticity.hpp"

Collaboration diagram for EshelbianPlasticity::AnalyticalTractionBc:
[legend]

Public Member Functions

 AnalyticalTractionBc (std::string name, std::vector< double > attr, Range faces)
 

Public Attributes

std::string blockName
 
Range faces
 
VectorInt3 flags
 

Detailed Description

Definition at line 524 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ AnalyticalTractionBc()

EshelbianPlasticity::AnalyticalTractionBc::AnalyticalTractionBc ( std::string name,
std::vector< double > attr,
Range faces )

Definition at line 2057 of file EshelbianPlasticity.cpp.

2060 : blockName(name), faces(faces) {
2061
2062 blockName = name;
2063 if (attr.size() < 3) {
2065 "Wrong size of analytical traction BC");
2066 }
2067
2068 flags.resize(3, false);
2069 for (int ii = 0; ii != 3; ++ii) {
2070 flags[ii] = attr[ii];
2071 }
2072
2073 MOFEM_LOG("EP", Sev::inform) << "Add AnalyticalTractionBc " << name;
2074 MOFEM_LOG("EP", Sev::inform)
2075 << "Add AnalyticalTractionBc flags " << flags[0] << " " << flags[1]
2076 << " " << flags[2];
2077 MOFEM_LOG("EP", Sev::inform)
2078 << "Add AnalyticalTractionBc nb. of faces " << faces.size();
2079}
#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::AnalyticalTractionBc::blockName

Definition at line 526 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::AnalyticalTractionBc::faces

Definition at line 527 of file EshelbianPlasticity.hpp.

◆ flags

VectorInt3 EshelbianPlasticity::AnalyticalTractionBc::flags

Definition at line 528 of file EshelbianPlasticity.hpp.


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