v0.15.4
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 530 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ PressureBc()

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

Definition at line 2493 of file EshelbianPlasticity.cpp.

2494 : blockName(name), faces(faces) {
2495
2496 blockName = name;
2497 if (attr.size() < 1) {
2499 "Wrong size of normal displacement BC");
2500 }
2501
2502 val = attr[0];
2503
2504 MOFEM_LOG("EP", Sev::inform) << "Add PressureBc " << name;
2505 MOFEM_LOG("EP", Sev::inform) << "Add PressureBc val " << val;
2506 MOFEM_LOG("EP", Sev::inform)
2507 << "Add PressureBc nb. of faces " << faces.size();
2508}
#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 532 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::PressureBc::faces

Definition at line 533 of file EshelbianPlasticity.hpp.

◆ val

double EshelbianPlasticity::PressureBc::val

Definition at line 534 of file EshelbianPlasticity.hpp.


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