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

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

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 567 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ TractionBc()

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

Definition at line 447 of file EshelbianPlasticity.cpp.

449  : blockName(name), faces(faces) {
450  vals.resize(3, false);
451  flags.resize(3, false);
452  for (int ii = 0; ii != 3; ++ii) {
453  vals[ii] = attr[ii];
454  flags[ii] = static_cast<int>(attr[ii + 3]);
455  }
456 }

Member Data Documentation

◆ blockName

std::string EshelbianPlasticity::TractionBc::blockName

Definition at line 569 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::TractionBc::faces

Definition at line 570 of file EshelbianPlasticity.hpp.

◆ flags

VectorInt3 EshelbianPlasticity::TractionBc::flags

Definition at line 572 of file EshelbianPlasticity.hpp.

◆ vals

VectorDouble3 EshelbianPlasticity::TractionBc::vals

Definition at line 571 of file EshelbianPlasticity.hpp.


The documentation for this struct was generated from the following files:
EshelbianPlasticity::TractionBc::faces
Range faces
Definition: EshelbianPlasticity.hpp:570
EshelbianPlasticity::TractionBc::vals
VectorDouble3 vals
Definition: EshelbianPlasticity.hpp:571
EshelbianPlasticity::TractionBc::flags
VectorInt3 flags
Definition: EshelbianPlasticity.hpp:572
EshelbianPlasticity::TractionBc::blockName
std::string blockName
Definition: EshelbianPlasticity.hpp:569