#include <tutorials/vec-5/src/FreeSurfaceOps.hpp>
|
boost::shared_ptr< MatrixDouble > | uPtr |
|
- Examples
- free_surface.cpp.
Definition at line 50 of file FreeSurfaceOps.hpp.
◆ OpNormalConstrainRhs()
FreeSurfaceOps::OpNormalConstrainRhs::OpNormalConstrainRhs |
( |
const std::string |
field_name, |
|
|
boost::shared_ptr< MatrixDouble > |
u_ptr |
|
) |
| |
|
inline |
◆ iNtegrate()
Definition at line 57 of file FreeSurfaceOps.hpp.
60 auto t_w = getFTensor0IntegrationWeight();
61 auto t_normal = getFTensor1Normal();
62 auto t_u = getFTensor1FromMat<SPACE_DIM>(*
uPtr);
63 auto t_row_base = row_data.getFTensor0N();
64 auto t_coords = getFTensor1CoordsAtGaussPts();
66 for (
int gg = 0; gg != nbIntegrationPts; gg++) {
68 const double r = t_coords(0);
72 for (; bb != nbRows; ++bb) {
73 locF[bb] += alpha * t_row_base * (t_normal(
i) * t_u(
i));
77 for (; bb < nbRowBaseFunctions; ++bb)
◆ uPtr
boost::shared_ptr<MatrixDouble> FreeSurfaceOps::OpNormalConstrainRhs::uPtr |
|
private |
The documentation for this struct was generated from the following file: