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

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

Collaboration diagram for EshelbianPlasticity::TractionBc:
[legend]

Public Member Functions

 TractionBc (std::string name, std::vector< double > attr, Range faces, std::string load_history_file="")
 

Public Attributes

std::string blockName
 
std::string loadHistoryFile
 
Range faces
 
VectorDouble3 vals
 
VectorInt3 flags
 

Detailed Description

Definition at line 956 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ TractionBc()

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

Definition at line 2921 of file EshelbianPlasticity.cpp.

2923 : blockName(name), loadHistoryFile(load_history_file), faces(faces) {
2924 vals.resize(3, false);
2925 flags.resize(3, false);
2926 for (int ii = 0; ii != 3; ++ii) {
2927 vals[ii] = attr[ii];
2928 flags[ii] = static_cast<int>(attr[ii + 3]);
2929 }
2930
2931 MOFEM_LOG("EP", Sev::inform) << "Add BCForce " << name;
2932 MOFEM_LOG("EP", Sev::inform)
2933 << "Add BCForce vals " << vals[0] << " " << vals[1] << " " << vals[2];
2934 MOFEM_LOG("EP", Sev::inform)
2935 << "Add BCForce flags " << flags[0] << " " << flags[1] << " " << flags[2];
2936 MOFEM_LOG("EP", Sev::inform) << "Add BCForce nb. of faces " << faces.size();
2937}
#define MOFEM_LOG(channel, severity)
Log.

Member Data Documentation

◆ blockName

std::string EshelbianPlasticity::TractionBc::blockName

Definition at line 959 of file EshelbianPlasticity.hpp.

◆ faces

Range EshelbianPlasticity::TractionBc::faces

Definition at line 961 of file EshelbianPlasticity.hpp.

◆ flags

VectorInt3 EshelbianPlasticity::TractionBc::flags

Definition at line 963 of file EshelbianPlasticity.hpp.

◆ loadHistoryFile

std::string EshelbianPlasticity::TractionBc::loadHistoryFile

Definition at line 960 of file EshelbianPlasticity.hpp.

◆ vals

VectorDouble3 EshelbianPlasticity::TractionBc::vals

Definition at line 962 of file EshelbianPlasticity.hpp.


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