\biref operator to calculate the RHS of the constrain for the RVE boundary conditions
More...
#include <users_modules/homogenisation/src/BCs_RVELagrange_Disp.hpp>
|
| OpRVEBCsRhs (const string field_name, const string lagrang_field_name, Vec f, VectorDouble given_strain, boost::ptr_vector< MethodForForceScaling > &methods_op, 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 of the constrain for the RVE boundary conditions
Definition at line 305 of file BCs_RVELagrange_Disp.hpp.
◆ OpRVEBCsRhs()
BCs_RVELagrange_Disp::OpRVEBCsRhs::OpRVEBCsRhs |
( |
const string |
field_name, |
|
|
const string |
lagrang_field_name, |
|
|
Vec |
f, |
|
|
VectorDouble |
given_strain, |
|
|
boost::ptr_vector< MethodForForceScaling > & |
methods_op, |
|
|
RVEBC_Data & |
data, |
|
|
bool |
ho_geometry = false |
|
) |
| |
|
inline |
◆ doWork()
Definition at line 317 of file BCs_RVELagrange_Disp.hpp.
323 if(
dAta.
tRis.find(getNumeredEntFiniteElementPtr()->getEnt())==
dAta.
tRis.end()) PetscFunctionReturn(0);
326 getNumeredEntFiniteElementPtr()->getRowDofsByPetscGlobalDofIdx(
327 data.getIndices()[0]);
328 const FENumeredDofEntity *dof_ptr;
329 if (
auto ptr = weak_ptr_dof.lock())
334 rank = dof_ptr->getNbOfCoeffs();
341 scaled_given_strain.resize(6);
346 f.resize(
D_mat.size1(),
false);
347 noalias(
f) = prod(
D_mat, scaled_given_strain);
355 if(
F == PETSC_NULL) {
356 myF = getFEMethod()->snes_f;
359 ierr =
VecSetValues(myF,data.getIndices().size(),&data.getIndices()[0],&
f[0],ADD_VALUES); CHKERRQ(
ierr);
360 PetscFunctionReturn(0);
Vec BCs_RVELagrange_Disp::OpRVEBCsRhs::F |
◆ givenStrain
VectorDouble BCs_RVELagrange_Disp::OpRVEBCsRhs::givenStrain |
◆ methodsOp
The documentation for this struct was generated from the following file: