Evaluate function values and gradients at Gauss Pts.
More...
#include <users_modules/minimal_surface_equation/src/MinimalSurfaceElement.hpp>
Evaluate function values and gradients at Gauss Pts.
- Examples
- minimal_surface_area.cpp.
Definition at line 190 of file MinimalSurfaceElement.hpp.
◆ OpGetDataAtGaussPts()
MinimalSurfaceEquation::MinimalSurfaceElement::OpGetDataAtGaussPts::OpGetDataAtGaussPts |
( |
const string |
field_name, |
|
|
CommonData & |
common_data |
|
) |
| |
|
inline |
◆ doWork()
Definition at line 198 of file MinimalSurfaceElement.hpp.
202 int nb_dofs = data.getFieldData().size();
206 int nb_gauss_pts = data.getN().size1();
209 if (
type == MBVERTEX) {
215 for (
int gg = 0; gg != nb_gauss_pts; gg++) {
217 ublas::matrix_row<MatrixDouble> grad_at_gauss_pt(
commonData.
gradU, gg);
218 noalias(grad_at_gauss_pt) +=
219 prod(trans(grad_shape_fun), data.getFieldData());
◆ commonData
CommonData& MinimalSurfaceEquation::MinimalSurfaceElement::OpGetDataAtGaussPts::commonData |
The documentation for this struct was generated from the following file: