#include <tutorials/vec-5/src/FreeSurfaceOps.hpp>
- Examples
- free_surface.cpp.
Definition at line 195 of file FreeSurfaceOps.hpp.
◆ OpNormalConstrainLhs()
FreeSurfaceOps::OpNormalConstrainLhs::OpNormalConstrainLhs |
( |
const std::string |
field_name_row, |
|
|
const std::string |
field_name_col |
|
) |
| |
|
inline |
Definition at line 197 of file FreeSurfaceOps.hpp.
200 AssemblyBoundaryEleOp::OPROWCOL) {
201 assembleTranspose =
true;
◆ iNtegrate()
Definition at line 205 of file FreeSurfaceOps.hpp.
209 auto t_w = getFTensor0IntegrationWeight();
210 auto t_normal = getFTensor1Normal();
211 auto t_row_base = row_data.getFTensor0N();
212 auto t_coords = getFTensor1CoordsAtGaussPts();
214 for (
int gg = 0; gg != nbIntegrationPts; ++gg) {
216 auto t_mat = getFTensor1FromPtr<U_FIELD_DIM>(&locMat(0, 0));
218 const double r = t_coords(0);
222 for (; rr != nbRows; ++rr) {
224 auto t_col_base = col_data.getFTensor0N(gg, 0);
225 const double a = alpha * t_row_base;
227 for (
int cc = 0; cc != nbCols /
U_FIELD_DIM; ++cc) {
228 t_mat(
i) += (
a * t_col_base) * t_normal(
i);
235 for (; rr < nbRowBaseFunctions; ++rr)
The documentation for this struct was generated from the following file: