Assemble residual.
More...
#include <users_modules/minimal_surface_equation/src/MinimalSurfaceElement.hpp>
Assemble residual.
- Examples
- minimal_surface_area.cpp.
Definition at line 295 of file MinimalSurfaceElement.hpp.
◆ OpAssembleResidaul()
MinimalSurfaceEquation::MinimalSurfaceElement::OpAssembleResidaul::OpAssembleResidaul |
( |
const string |
field_name, |
|
|
CommonData & |
common_data |
|
) |
| |
|
inline |
◆ doWork()
Definition at line 303 of file MinimalSurfaceElement.hpp.
307 int nb_dofs = data.getIndices().size();
313 int nb_gauss_pts = data.getN().size1();
314 for (
int gg = 0; gg != nb_gauss_pts; gg++) {
315 double val = getGaussPts()(2, gg) * getArea();
317 noalias(
rEsidual) += val * prod(data.getDiffN(gg), an_by_grad_u);
320 &*data.getIndices().data().begin(), &
rEsidual[0],
◆ commonData
CommonData& MinimalSurfaceEquation::MinimalSurfaceElement::OpAssembleResidaul::commonData |
◆ rEsidual
VectorDouble MinimalSurfaceEquation::MinimalSurfaceElement::OpAssembleResidaul::rEsidual |
The documentation for this struct was generated from the following file: