#include <users_modules/basic_finite_elements/src/ConvectiveMassElement.hpp>
Definition at line 261 of file ConvectiveMassElement.hpp.
◆ OpEnergy()
◆ doWork()
Definition at line 737 of file ConvectiveMassElement.cpp.
741 if (row_type != MBVERTEX) {
744 if (
dAta.
tEts.find(getNumeredEntFiniteElementPtr()->getEnt()) ==
751 for (
unsigned int gg = 0; gg < row_data.
getN().size1(); gg++) {
752 double val = getVolume() * getGaussPts()(3, gg);
770 noalias(
F) = prod(
h,
invH);
780 energy += 0.5 * (
rho * val) * inner_prod(
v,
v);
782 CHKERR VecSetValue(
V, 0, energy, ADD_VALUES);
◆ commonData
CommonData& ConvectiveMassElement::OpEnergy::commonData |
◆ dAta
BlockData& ConvectiveMassElement::OpEnergy::dAta |
MatrixDouble3by3 ConvectiveMassElement::OpEnergy::F |
MatrixDouble3by3 ConvectiveMassElement::OpEnergy::h |
MatrixDouble3by3 ConvectiveMassElement::OpEnergy::H |
◆ invH
MatrixDouble3by3 ConvectiveMassElement::OpEnergy::invH |
◆ lInear
bool& ConvectiveMassElement::OpEnergy::lInear |
SmartPetscObj<Vec> ConvectiveMassElement::OpEnergy::V |
VectorDouble3 ConvectiveMassElement::OpEnergy::v |
The documentation for this struct was generated from the following files:
MoFEMErrorCode invertTensor3by3(ublas::matrix< T, L, A > &jac_data, ublas::vector< T, A > &det_data, ublas::matrix< T, L, A > &inv_jac_data)
Calculate inverse of tensor rank 2 at integration points.