3817 {
3819
3820 if (OP::entsPtr) {
3821 if (OP::entsPtr->find(this->getFEEntityHandle()) == OP::entsPtr->end())
3823 }
3824
3825#ifndef NDEBUG
3826 if (!brokenBaseSideData) {
3828 }
3829#endif
3830
3831 auto do_work_rhs = [this](int row_side, EntityType row_type,
3834
3836 if (!OP::nbRows)
3838
3839 OP::nbIntegrationPts = OP::getGaussPts().size2();
3840
3841 OP::nbRowBaseFunctions = OP::getNbOfBaseFunctions(row_data);
3842
3843 OP::locF.resize(OP::nbRows, false);
3844 OP::locF.clear();
3845
3846 CHKERR this->iNtegrate(row_data);
3847
3848 CHKERR this->aSsemble(row_data);
3850 };
3851
3852 switch (OP::opType) {
3853 case OP::OPSPACE:
3854 for (auto &bd : *brokenBaseSideData) {
3855 this->sourceVec =
3856 boost::shared_ptr<MatrixDouble>(brokenBaseSideData, &bd.getFlux());
3857 CHKERR do_work_rhs(bd.getSide(), bd.getType(), bd.getData());
3858 this->sourceVec.reset();
3859 }
3860 break;
3861 default:
3863 (std::string("wrong op type ") +
3864 OpBaseDerivativesBase::OpTypeNames[OP::opType])
3865 .c_str());
3866 }
3867
3869}
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define CHK_MOAB_THROW(err, msg)
Check error code of MoAB function and throw MoFEM exception.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
Data on single entity (This is passed as argument to DataOperator::doWork)
const VectorInt & getIndices() const
Get global indices of degrees of freedom on entity.