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

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

Collaboration diagram for EshelbianPlasticity::AnalyticalDisplacementBc:
[legend]

Public Member Functions

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

Public Attributes

std::string blockName
 
Range faces
 
VectorInt3 flags
 

Detailed Description

Definition at line 515 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ AnalyticalDisplacementBc()

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

Definition at line 2033 of file EshelbianPlasticity.cpp.

2036 : blockName(name), faces(faces) {
2037
2038 blockName = name;
2039 if (attr.size() < 3) {
2041 "Wrong size of analytical displacement BC");
2042 }
2043
2044 flags.resize(3, false);
2045 for (int ii = 0; ii != 3; ++ii) {
2046 flags[ii] = attr[ii];
2047 }
2048
2049 MOFEM_LOG("EP", Sev::inform) << "Add AnalyticalDisplacementBc " << name;
2050 MOFEM_LOG("EP", Sev::inform)
2051 << "Add AnalyticalDisplacementBc flags " << flags[0] << " " << flags[1]
2052 << " " << flags[2];
2053 MOFEM_LOG("EP", Sev::inform)
2054 << "Add AnalyticalDisplacementBc nb. of faces " << faces.size();
2055}
#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::AnalyticalDisplacementBc::blockName

Definition at line 518 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::AnalyticalDisplacementBc::faces

Definition at line 519 of file EshelbianPlasticity.hpp.

◆ flags

VectorInt3 EshelbianPlasticity::AnalyticalDisplacementBc::flags

Definition at line 520 of file EshelbianPlasticity.hpp.


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