v0.14.0
Classes | Public Member Functions | Public Attributes | List of all members
BCs_RVEVolume Struct Reference

#include <users_modules/homogenisation/src/BCs_RVEVolume.hpp>

Collaboration diagram for BCs_RVEVolume:
[legend]

Classes

struct  MyVolumeFE
 definition of volume element More...
 
struct  OpVolumeCal
 

Public Member Functions

 BCs_RVEVolume (MoFEM::Interface &m_field)
 
PetscErrorCode setRVEVolumeOperators (MoFEM::Interface &mField, string field_name, Vec _RVE_volume_Vec, map< int, NonlinearElasticElement::BlockData > &setOfBlocks)
 

Public Attributes

MyVolumeFE feLhs
 
MoFEM::InterfacemField
 

Detailed Description

Definition at line 23 of file BCs_RVEVolume.hpp.

Constructor & Destructor Documentation

◆ BCs_RVEVolume()

BCs_RVEVolume::BCs_RVEVolume ( MoFEM::Interface m_field)
inline

Definition at line 34 of file BCs_RVEVolume.hpp.

34  :
35  feLhs(m_field),
36  mField(m_field) {}

Member Function Documentation

◆ setRVEVolumeOperators()

PetscErrorCode BCs_RVEVolume::setRVEVolumeOperators ( MoFEM::Interface mField,
string  field_name,
Vec  _RVE_volume_Vec,
map< int, NonlinearElasticElement::BlockData > &  setOfBlocks 
)
inline

Definition at line 86 of file BCs_RVEVolume.hpp.

86  {
87  PetscFunctionBegin;
88 
89  //// cout<<"Hi from setRVEVolumeOperators "<<endl;
90  map<int,NonlinearElasticElement::BlockData>::iterator sit = setOfBlocks.begin();
91  for(;sit!=setOfBlocks.end();sit++) {
92  // cout<<"Hi from loop "<<endl;
93  // cout<<"sit->second.tEts === "<<sit->second.tEts<<endl;
94  feLhs.getOpPtrVector().push_back(new OpVolumeCal(mField, field_name, _RVE_volume_Vec, sit->second));
95  }
96  }

Member Data Documentation

◆ feLhs

MyVolumeFE BCs_RVEVolume::feLhs

Definition at line 30 of file BCs_RVEVolume.hpp.

◆ mField

MoFEM::Interface& BCs_RVEVolume::mField

Definition at line 33 of file BCs_RVEVolume.hpp.


The documentation for this struct was generated from the following file:
BCs_RVEVolume::mField
MoFEM::Interface & mField
Definition: BCs_RVEVolume.hpp:33
BCs_RVEVolume::feLhs
MyVolumeFE feLhs
Definition: BCs_RVEVolume.hpp:30
field_name
constexpr auto field_name
Definition: poisson_2d_homogeneous.cpp:13