v0.16.3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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, std::string load_history_file="")
 

Public Attributes

std::string blockName
 
Range faces
 
VectorInt3 flags
 

Detailed Description

Definition at line 986 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ AnalyticalDisplacementBc()

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

Definition at line 3018 of file EshelbianPlasticity.cpp.

3021 : blockName(name), faces(faces) {
3022 (void)load_history_file;
3023 if (attr.size() < 3) {
3025 "Wrong size of analytical displacement BC");
3026 }
3027
3028 flags.resize(3, false);
3029 for (int ii = 0; ii != 3; ++ii) {
3030 flags[ii] = attr[ii];
3031 }
3032
3033 MOFEM_LOG("EP", Sev::inform) << "Add AnalyticalDisplacementBc " << name;
3034 MOFEM_LOG("EP", Sev::inform)
3035 << "Add AnalyticalDisplacementBc flags " << flags[0] << " " << flags[1]
3036 << " " << flags[2];
3037 MOFEM_LOG("EP", Sev::inform)
3038 << "Add AnalyticalDisplacementBc nb. of faces " << faces.size();
3039}
#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 989 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::AnalyticalDisplacementBc::faces

Definition at line 990 of file EshelbianPlasticity.hpp.

◆ flags

VectorInt3 EshelbianPlasticity::AnalyticalDisplacementBc::flags

Definition at line 991 of file EshelbianPlasticity.hpp.


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