#include <users_modules/basic_finite_elements/src/ConvectiveMassElement.hpp>
Definition at line 152 of file ConvectiveMassElement.hpp.
◆ OpGetDataAtGaussPts()
ConvectiveMassElement::OpGetDataAtGaussPts::OpGetDataAtGaussPts |
( |
const std::string |
field_name, |
|
|
std::vector< VectorDouble > & |
values_at_gauss_pts, |
|
|
std::vector< MatrixDouble > & |
gardient_at_gauss_pts |
|
) |
| |
◆ doWork()
operator calculating deformation gradient
Definition at line 90 of file ConvectiveMassElement.cpp.
98 int nb_gauss_pts = data.
getN().size1();
99 int nb_base_functions = data.
getN().size2();
105 for (
int gg = 0; gg < nb_gauss_pts; gg++) {
111 for (
int gg = 0; gg < nb_gauss_pts; gg++) {
122 for (
int gg = 0; gg != nb_gauss_pts; gg++) {
134 for (; bb != nb_dofs / 3; bb++) {
135 values(
i) += base_function * field_data(
i);
136 gradient(
i,
j) += field_data(
i) * diff_base_functions(
j);
137 ++diff_base_functions;
141 for (; bb != nb_base_functions; bb++) {
142 ++diff_base_functions;
◆ gradientAtGaussPts
std::vector<MatrixDouble>& ConvectiveMassElement::OpGetDataAtGaussPts::gradientAtGaussPts |
◆ valuesAtGaussPts
std::vector<VectorDouble>& ConvectiveMassElement::OpGetDataAtGaussPts::valuesAtGaussPts |
◆ zeroAtType
const EntityType ConvectiveMassElement::OpGetDataAtGaussPts::zeroAtType |
The documentation for this struct was generated from the following files: