22 "lambda >= 0 & lambda <= 1",
23 "Threshold applied to the fraction outside the retained domain for a partial element. This "
24 "parameter cannot be set when 'mark_intercepted' is true.");
29 "qrule_order >= 0 & qrule_order <= 10",
30 "Quadrature order used to estimate the retained-domain fraction.");
33 "mark_intercepted",
false,
"Whether to assign a dedicated subdomain ID when intercepted.");
36 "Subdomain ID assigned to intercepted elements.");
43 : _lambda(moose_object->getParam<Real>(
"lambda")),
44 _qrule_order(static_cast<Order>(moose_object->getParam<
int>(
"qrule_order"))),
45 _intercepted_subdomain_policy{moose_object->getParam<bool>(
"mark_intercepted"),
46 moose_object->getParam<
SubdomainID>(
"subdomain_id_intercepted")}
50 moose_object->
paramError(
"subdomain_id_intercepted",
51 "This parameter must be specified when 'mark_intercepted' is true.");
55 "This parameter cannot be set when 'mark_intercepted' is true.");
void ErrorVector unsigned int
void paramError(const std::string ¶m, Args... args) const
bool isParamSetByUser(const std::string &name) const
const SBMUtils::InterceptedSubdomainPolicy _intercepted_subdomain_policy
Policy for assigning partial elements to a dedicated intercepted subdomain.
SBMElementClassificationInterface(const MooseObject *moose_object)
static InputParameters validParams()
const SubdomainID INVALID_BLOCK_ID