v0.15.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
EshelbianPlasticity::PressureBc Struct Reference

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

Collaboration diagram for EshelbianPlasticity::PressureBc:
[legend]

Public Member Functions

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

Public Attributes

std::string blockName
 
Range faces
 
double val
 

Detailed Description

Definition at line 524 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ PressureBc()

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

Definition at line 2055 of file EshelbianPlasticity.cpp.

2056 : blockName(name), faces(faces) {
2057
2058 blockName = name;
2059 if (attr.size() < 1) {
2061 "Wrong size of normal displacement BC");
2062 }
2063
2064 val = attr[0];
2065
2066 MOFEM_LOG("EP", Sev::inform) << "Add PressureBc " << name;
2067 MOFEM_LOG("EP", Sev::inform) << "Add PressureBc val " << val;
2068 MOFEM_LOG("EP", Sev::inform)
2069 << "Add PressureBc nb. of faces " << faces.size();
2070}
#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::PressureBc::blockName

Definition at line 526 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::PressureBc::faces

Definition at line 527 of file EshelbianPlasticity.hpp.

◆ val

double EshelbianPlasticity::PressureBc::val

Definition at line 528 of file EshelbianPlasticity.hpp.


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