\biref operator to calculate the RHS for the calculation of the homgoensied stiffness matrix
More...
#include <users_modules/homogenisation/src/BCs_RVELagrange_Disp.hpp>
|
| OpRVEBCsRhsHomoC (const string field_name, const string lagrang_field_name, vector< Vec > &f, RVEBC_Data &data, bool ho_geometry=false) |
|
PetscErrorCode | doWork (int side, EntityType type, DataForcesAndSourcesCore::EntData &data) |
|
| OpDmatRhs (const string field_name, const string lagrang_field_name, RVEBC_Data &data, bool ho_geometry=false) |
|
PetscErrorCode | calculateDmat (int side, EntityType type, DataForcesAndSourcesCore::EntData &data) |
|
\biref operator to calculate the RHS for the calculation of the homgoensied stiffness matrix
Definition at line 365 of file BCs_RVELagrange_Disp.hpp.
◆ OpRVEBCsRhsHomoC()
BCs_RVELagrange_Disp::OpRVEBCsRhsHomoC::OpRVEBCsRhsHomoC |
( |
const string |
field_name, |
|
|
const string |
lagrang_field_name, |
|
|
vector< Vec > & |
f, |
|
|
RVEBC_Data & |
data, |
|
|
bool |
ho_geometry = false |
|
) |
| |
|
inline |
◆ doWork()
Definition at line 376 of file BCs_RVELagrange_Disp.hpp.
382 if(
dAta.
tRis.find(getNumeredEntFiniteElementPtr()->getEnt())==
dAta.
tRis.end()) PetscFunctionReturn(0);
385 getNumeredEntFiniteElementPtr()->getRowDofsByPetscGlobalDofIdx(
386 data.getIndices()[0]);
387 const FENumeredDofEntity *dof_ptr;
388 if (
auto ptr = weak_ptr_dof.lock())
393 rank = dof_ptr->getNbOfCoeffs();
399 f.resize(
D_mat.size1(),
false);
401 int size = (
rank == 3) ? 6 : 3;
402 for(
int ii = 0;ii<size;ii++) {
407 F[ii],data.getIndices().size(),&data.getIndices()[0],&
f[0],ADD_VALUES
411 PetscFunctionReturn(0);
vector<Vec>& BCs_RVELagrange_Disp::OpRVEBCsRhsHomoC::F |
The documentation for this struct was generated from the following file: