#include <tutorials/vec-5/src/FreeSurfaceOps.hpp>
- Examples
- free_surface.cpp.
Definition at line 92 of file FreeSurfaceOps.hpp.
◆ OpNormalForceRhs()
FreeSurfaceOps::OpNormalForceRhs::OpNormalForceRhs |
( |
const std::string |
field_name, |
|
|
boost::shared_ptr< VectorDouble > |
lambda_ptr |
|
) |
| |
|
inline |
◆ iNtegrate()
Definition at line 99 of file FreeSurfaceOps.hpp.
102 auto t_w = getFTensor0IntegrationWeight();
103 auto t_normal = getFTensor1Normal();
105 auto t_row_base = row_data.getFTensor0N();
106 auto t_coords = getFTensor1CoordsAtGaussPts();
108 for (
int gg = 0; gg != nbIntegrationPts; gg++) {
110 auto t_nf = getFTensor1FromArray<U_FIELD_DIM, U_FIELD_DIM>(locF);
112 const double r = t_coords(0);
118 t_nf(
i) += alpha * t_row_base * t_normal(
i) * t_lambda;
123 for (; bb < nbRowBaseFunctions; ++bb)
◆ lambdaPtr
boost::shared_ptr<VectorDouble> FreeSurfaceOps::OpNormalForceRhs::lambdaPtr |
|
private |
The documentation for this struct was generated from the following file: