10#ifdef MOOSE_MFEM_ENABLED
24 "complex kernels and boundary conditions named by this weak form.");
41 std::shared_ptr<MFEMBoundaryCondition> bc)
43 if (
auto integrated_bc = std::dynamic_pointer_cast<MFEMComplexIntegratedBC>(bc))
45 else if (
auto essential_bc = std::dynamic_pointer_cast<MFEMComplexEssentialBC>(bc))
54 if (
auto complex_kernel = std::dynamic_pointer_cast<MFEMComplexKernel>(kernel))
60std::shared_ptr<Moose::MFEM::EquationSystem>
63 return std::make_shared<Moose::MFEM::ComplexEquationSystem>();
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
const std::string & name() const
Get the name of the class.
Class to store weak form components (bilinear and linear forms, and optionally mixed and nonlinear fo...
void AddComplexKernel(std::shared_ptr< MFEMComplexKernel > kernel)
Add complex kernels.
void AddComplexIntegratedBC(std::shared_ptr< MFEMComplexIntegratedBC > bc)
Add complex integrated BCs.
void AddComplexEssentialBCs(std::shared_ptr< MFEMComplexEssentialBC > bc)
Add complex essential BCs.