v0.14.0
Public Member Functions | Static Public Member Functions | List of all members
MoFEM::AddEssentialToLhsPipelineImpl< OpEssentialLhsImpl< MPCsType, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase > Struct Template Reference

#include <src/boundary_conditions/EssentialMPCsData.hpp>

Public Member Functions

 AddEssentialToLhsPipelineImpl ()=delete
 

Static Public Member Functions

static MoFEMErrorCode add (MoFEM::Interface &m_field, boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pipeline, const std::string problem_name, std::string field_name)
 

Detailed Description

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase>
struct MoFEM::AddEssentialToLhsPipelineImpl< OpEssentialLhsImpl< MPCsType, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >

Definition at line 255 of file EssentialMPCsData.hpp.

Constructor & Destructor Documentation

◆ AddEssentialToLhsPipelineImpl()

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
MoFEM::AddEssentialToLhsPipelineImpl< OpEssentialLhsImpl< MPCsType, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::AddEssentialToLhsPipelineImpl ( )
delete

Member Function Documentation

◆ add()

template<int BASE_DIM, int FIELD_DIM, AssemblyType A, IntegrationType I, typename OpBase >
static MoFEMErrorCode MoFEM::AddEssentialToLhsPipelineImpl< OpEssentialLhsImpl< MPCsType, BASE_DIM, FIELD_DIM, A, I, OpBase >, A, I, OpBase >::add ( MoFEM::Interface m_field,
boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &  pipeline,
const std::string  problem_name,
std::string  field_name 
)
inlinestatic

Definition at line 264 of file EssentialMPCsData.hpp.

270  {
272 
273  // using OP = typename PCsBC<OpBase>::template Assembly<A>::
274  // template BiLinearForm<I>::template OpPCsLhs<
275  // MPCsType, BASE_DIM, FIELD_DIM>;
276 
277  // auto add_op = [&](auto &bcs) {
278  // MoFEMFunctionBeginHot;
279  // for (auto &m : bcs) {
280  // if (auto bc = m.second->dispBcPtr) {
281  // auto &bc_id = m.first;
282  // auto regex_str =
283  // (boost::format("%s_%s_(.*)") % problem_name %
284  // field_name).str();
285  // if (std::regex_match(bc_id, std::regex(regex_str))) {
286  // MOFEM_TAG_AND_LOG("SELF", Sev::noisy, "OpPCsLhs") << *bc;
287  // pipeline.push_back(
288  // new OpSetBc(field_name, false, m.second->getBcMarkersPtr()));
289  // pipeline.push_back(new OP(field_name, m.second->getBcEntsPtr()));
290  // pipeline.push_back(new OpUnSetBc(field_name));
291  // }
292  // }
293  // }
294  // MOFEM_LOG_CHANNEL("SELF");
295  // MoFEMFunctionReturnHot(0);
296  // };
297 
298  // CHKERR add_op(m_field.getInterface<BcManager>()->getBcMapByBlockName());
299 
301  }

The documentation for this struct was generated from the following file:
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346