v0.15.5
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)
 

Public Attributes

std::string blockName
 
Range faces
 
VectorInt3 flags
 

Detailed Description

Definition at line 529 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ AnalyticalDisplacementBc()

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

Definition at line 2631 of file EshelbianPlasticity.cpp.

2634 : blockName(name), faces(faces) {
2635
2636 blockName = name;
2637 if (attr.size() < 3) {
2639 "Wrong size of analytical displacement BC");
2640 }
2641
2642 flags.resize(3, false);
2643 for (int ii = 0; ii != 3; ++ii) {
2644 flags[ii] = attr[ii];
2645 }
2646
2647 MOFEM_LOG("EP", Sev::inform) << "Add AnalyticalDisplacementBc " << name;
2648 MOFEM_LOG("EP", Sev::inform)
2649 << "Add AnalyticalDisplacementBc flags " << flags[0] << " " << flags[1]
2650 << " " << flags[2];
2651 MOFEM_LOG("EP", Sev::inform)
2652 << "Add AnalyticalDisplacementBc nb. of faces " << faces.size();
2653}
#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 532 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::AnalyticalDisplacementBc::faces

Definition at line 533 of file EshelbianPlasticity.hpp.

◆ flags

VectorInt3 EshelbianPlasticity::AnalyticalDisplacementBc::flags

Definition at line 534 of file EshelbianPlasticity.hpp.


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