v0.14.0
Public Member Functions | Public Attributes | List of all members
EshelbianPlasticity::TractionBc Struct Reference

#include <users_modules/eshelbian_plasticit/src/EshelbianPlasticity.hpp>

Collaboration diagram for EshelbianPlasticity::TractionBc:
[legend]

Public Member Functions

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

Public Attributes

std::string blockName
 
Range faces
 
VectorDouble3 vals
 
VectorInt3 flags
 

Detailed Description

Definition at line 371 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ TractionBc()

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

Definition at line 1263 of file EshelbianPlasticity.cpp.

1265  : blockName(name), faces(faces) {
1266  vals.resize(3, false);
1267  flags.resize(3, false);
1268  for (int ii = 0; ii != 3; ++ii) {
1269  vals[ii] = attr[ii];
1270  flags[ii] = static_cast<int>(attr[ii + 3]);
1271  }
1272 
1273  MOFEM_LOG("EP", Sev::inform) << "Add BCForce " << name;
1274  MOFEM_LOG("EP", Sev::inform)
1275  << "Add BCForce vals " << vals[0] << " " << vals[1] << " " << vals[2];
1276  MOFEM_LOG("EP", Sev::inform)
1277  << "Add BCForce flags " << flags[0] << " " << flags[1] << " " << flags[2];
1278  MOFEM_LOG("EP", Sev::inform) << "Add BCForce nb. of faces " << faces.size();
1279 }

Member Data Documentation

◆ blockName

std::string EshelbianPlasticity::TractionBc::blockName

Definition at line 373 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::TractionBc::faces

Definition at line 374 of file EshelbianPlasticity.hpp.

◆ flags

VectorInt3 EshelbianPlasticity::TractionBc::flags

Definition at line 376 of file EshelbianPlasticity.hpp.

◆ vals

VectorDouble3 EshelbianPlasticity::TractionBc::vals

Definition at line 375 of file EshelbianPlasticity.hpp.


The documentation for this struct was generated from the following files:
EshelbianPlasticity::TractionBc::blockName
std::string blockName
Definition: EshelbianPlasticity.hpp:373
EshelbianPlasticity::TractionBc::faces
Range faces
Definition: EshelbianPlasticity.hpp:374
MOFEM_LOG
#define MOFEM_LOG(channel, severity)
Log.
Definition: LogManager.hpp:308
EshelbianPlasticity::TractionBc::flags
VectorInt3 flags
Definition: EshelbianPlasticity.hpp:376
EshelbianPlasticity::TractionBc::vals
VectorDouble3 vals
Definition: EshelbianPlasticity.hpp:375