#include <src/finite_elements/BiLinearFormsIntegratorsImpl.hpp>
template<typename OpBase>
struct MoFEM::OpMassImpl< 1, 1, GAUSS, OpBase >
Definition at line 67 of file BiLinearFormsIntegratorsImpl.hpp.
◆ OpMassImpl()
template<typename OpBase >
Definition at line 69 of file BiLinearFormsIntegratorsImpl.hpp.
72 boost::shared_ptr<Range> ents_ptr =
nullptr,
73 boost::shared_ptr<MatrixDouble> cache_mat =
nullptr)
74 :
OpBase(row_field_name, col_field_name, OpBase::OPROWCOL, ents_ptr),
76 if (row_field_name == col_field_name)
◆ iNtegrate()
template<typename OpBase >
◆ integrateImpl()
template<typename OpBase >
Definition at line 525 of file BiLinearFormsIntegratorsImpl.hpp.
531 auto log_error = [&]() {
541 "Wrong number of base functions on rows %d < %d",
547 "Wrong number of base functions on cols %d < %d",
553 "Wrong number of integration points on rows %d != %d",
559 "Wrong number of integration points on cols %d != %d",
565 auto t_w = OpBase::getFTensor0IntegrationWeight();
567 auto t_row_base = row_data.getFTensor0N();
569 auto t_coords = OpBase::getFTensor1CoordsAtGaussPts();
572 const double beta =
betaCoeff(t_coords(0), t_coords(1), t_coords(2));
574 const double alpha = t_w * beta;
580 auto t_col_base = col_data.getFTensor0N(gg, 0);
584 *a_mat_ptr += alpha * (t_row_base * t_col_base);
◆ betaCoeff
template<typename OpBase >
The documentation for this struct was generated from the following file: