84 {
86
88 typename EssentialBC<OpBase>::template Assembly<A>::template
LinearForm<
91 using OpInternal = typename FormsIntegrators<OpBase>::template Assembly<
94
95 auto add_op = [&](auto &bcs) {
98 if (
auto bc =
m.second->heatFluxBcPtr) {
99 auto &bc_id =
m.first;
100 auto regex_str =
101 (boost::format(
"%s_%s_(.*)") % problem_name %
field_name).str();
102 if (std::regex_match(bc_id, std::regex(regex_str))) {
104 pipeline.push_back(
105 new OpSetBc(
field_name,
false,
m.second->getBcMarkersPtr()));
106 pipeline.push_back(
108 pipeline.push_back(new OpInternal(
110 [](double, double, double) constexpr { return 1.; },
111 m.second->getBcEntsPtr()));
112 pipeline.push_back(
new OpUnSetBc(
field_name));
113 }
114 }
115 }
118 };
119
121
123 }
#define MOFEM_TAG_AND_LOG(channel, severity, tag)
Tag and log in channel.
#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 MoFEMFunctionReturn(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< 'm', SPACE_DIM > m
#define MOFEM_LOG_CHANNEL(channel)
Set and reset channel.
constexpr IntegrationType I
constexpr auto field_name
Enforce essential constrains on rhs.
MoFEMErrorCode getInterface(IFACE *&iface) const
Get interface refernce to pointer of interface.