3855 {
3857
3858 if (OP::entsPtr) {
3859 if (OP::entsPtr->find(this->getFEEntityHandle()) == OP::entsPtr->end())
3861 }
3862
3863#ifndef NDEBUG
3864 if (!brokenBaseSideData) {
3866 }
3867#endif
3868
3869 auto do_work_rhs = [this](int row_side, EntityType row_type,
3872
3874 if (!OP::nbRows)
3876
3877 OP::nbIntegrationPts = OP::getGaussPts().size2();
3878
3879 OP::nbRowBaseFunctions = OP::getNbOfBaseFunctions(row_data);
3880
3881 OP::locF.resize(OP::nbRows, false);
3882 OP::locF.clear();
3883
3884 CHKERR this->iNtegrate(row_data);
3885
3886 CHKERR this->aSsemble(row_data);
3888 };
3889
3890 switch (OP::opType) {
3891 case OP::OPSPACE:
3892 for (auto &bd : *brokenBaseSideData) {
3893 this->sourceVec =
3894 boost::shared_ptr<MatrixDouble>(brokenBaseSideData, &bd.getFlux());
3895 CHKERR do_work_rhs(bd.getSide(), bd.getType(), bd.getData());
3896 this->sourceVec.reset();
3897 }
3898 break;
3899 default:
3901 (std::string("wrong op type ") +
3902 OpBaseDerivativesBase::OpTypeNames[OP::opType])
3903 .c_str());
3904 }
3905
3907}
#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.