Lhs for H dH.
More...
#include <users_modules/tutorials/vec-5/src/FreeSurfaceOps.hpp>
|
boost::shared_ptr< VectorDouble > | hPtr |
|
template<bool I>
struct FreeSurfaceOps::OpLhsH_dG< I >
Lhs for H dH.
- Examples
- free_surface.cpp.
Definition at line 1118 of file FreeSurfaceOps.hpp.
◆ OpLhsH_dG()
Definition at line 1120 of file FreeSurfaceOps.hpp.
1123 AssemblyDomainEleOp::OPROWCOL),
1126 assembleTranspose =
false;
◆ iNtegrate()
Definition at line 1129 of file FreeSurfaceOps.hpp.
1133 const double vol = getMeasure();
1136 auto t_row_diff_base = row_data.getFTensor1DiffN<
SPACE_DIM>();
1137 auto t_w = getFTensor0IntegrationWeight();
1138 auto t_coords = getFTensor1CoordsAtGaussPts();
1140 for (
int gg = 0; gg != nbIntegrationPts; gg++) {
1142 const double r = t_coords(0);
1147 set_h =
init_h(t_coords(0), t_coords(1), t_coords(2));
1151 auto m =
get_M(set_h) * alpha;
1154 for (; rr != nbRows; ++rr) {
1155 auto t_col_diff_base = col_data.getFTensor1DiffN<
SPACE_DIM>(gg, 0);
1157 for (
int cc = 0; cc != nbCols; ++cc) {
1158 locMat(rr, cc) += (t_row_diff_base(
i) * t_col_diff_base(
i)) *
m;
1166 for (; rr < nbRowBaseFunctions; ++rr) {
◆ hPtr
The documentation for this struct was generated from the following file: