63 {
65
67
68
69 const double vol = OP::getMeasure();
70
71 auto t_w = OP::getFTensor0IntegrationWeight();
72
73 auto t_row_base = row_data.getFTensor1N<3>();
74
75 auto t_normal = OP::getFTensor1NormalsAtGaussPts();
76
77
78 for (int gg = 0; gg != OP::nbIntegrationPts; gg++) {
79
80 const double alpha = t_w;
81
83 t_unit_normal(
i) = t_normal(
i) / t_normal.
l2();
84
85
86 int rr = 0;
87 for (; rr != OP::nbRows; ++rr) {
88 OP::locF[rr] += alpha * (t_row_base(
i) * t_unit_normal(
i));
89 ++t_row_base;
90 }
91 for (; rr < OP::nbRowBaseFunctions; ++rr)
92 ++t_row_base;
93 ++t_w;
94 ++t_normal;
95 }
96
98
100}
#define FTENSOR_INDEX(DIM, I)
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
FTensor::Index< 'i', SPACE_DIM > i