131 {
133
135 typename EssentialBC<OpBase>::template Assembly<A>::template
LinearForm<
136 I>::template OpEssentialRhs<HeatFluxCubitBcData,
BASE_DIM,
138 using OpInternal = typename FormsIntegrators<OpBase>::template Assembly<
142
143 auto add_op = [&](auto &bcs) {
145 for (
auto &
m : bcs) {
146 if (
auto bc =
m.second->heatFluxBcPtr) {
147 auto &bc_id =
m.first;
148 auto regex_str =
149 (boost::format(
"%s_%s_(.*)") % problem_name %
field_name).str();
150 if (std::regex_match(bc_id, std::regex(regex_str))) {
152 pipeline.push_back(
153 new OpSetBc(
field_name,
false,
m.second->getBcMarkersPtr()));
154 pipeline.push_back(
156 pipeline.push_back(new OpInternal(
158 [](double, double, double) constexpr { return 1.; },
159 m.second->getBcEntsPtr()));
160 pipeline.push_back(
new OpUnSetBc(
field_name));
161 }
162 }
163 }
166 };
167
169
171 }
#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 ...
#define MOFEM_LOG_CHANNEL(channel)
Set and reset channel.
constexpr IntegrationType I
constexpr auto field_name
FTensor::Index< 'm', 3 > m
MoFEMErrorCode getInterface(IFACE *&iface) const
Get interface reference to pointer of interface.