393 {
395
396 if (
dAta.
tEts.find(getNumeredEntFiniteElementPtr()->getEnt()) ==
399 }
403
405 int nb_base_functions = row_data.
getN().size2();
406
407 {
408
411
413
414 for (
unsigned int gg = 0; gg < row_data.
getN().size1(); gg++) {
420 for (;
dd < nb_dofs / 3;
dd++) {
421 t_nf(
i) += base * res(
i);
422 ++base;
423 ++t_nf;
424 }
425 for (;
dd != nb_base_functions;
dd++) {
426 ++base;
427 }
428 }
429
430 if ((
unsigned int)nb_dofs > 3 * row_data.
getN().size2()) {
431 SETERRQ(PETSC_COMM_SELF, 1, "data inconsistency");
432 }
435 }
436
438}
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
FTensor::Index< 'i', SPACE_DIM > i
const Tensor2_symmetric_Expr< const ddTensor0< T, Dim, i, j >, typename promote< T, double >::V, Dim, i, j > dd(const Tensor0< T * > &a, const Index< i, Dim > index1, const Index< j, Dim > index2, const Tensor1< int, Dim > &d_ijk, const Tensor1< double, Dim > &d_xyz)
constexpr auto VecSetValues
Range tEts
elements in block set
std::vector< VectorDouble > valMass
FTensor::Tensor0< FTensor::PackPtr< double *, 1 > > getFTensor0N(const FieldApproximationBase base)
Get base function as Tensor0.
MatrixDouble & getN(const FieldApproximationBase base)
get base functions this return matrix (nb. of rows is equal to nb. of Gauss pts, nb....
const VectorInt & getIndices() const
Get global indices of dofs on entity.