12 #ifndef MFEM_TESLA_SOLVER
13 #define MFEM_TESLA_SOLVER
15 #include "../common/pfem_extras.hpp"
16 #include "../common/mesh_extras.hpp"
27 using common::H1_ParFESpace;
28 using common::ND_ParFESpace;
29 using common::RT_ParFESpace;
30 using common::ParDiscreteGradOperator;
31 using common::ParDiscreteCurlOperator;
32 using common::DivergenceFreeProjector;
34 namespace electromagnetics
119 std::map<std::string,socketstream*> socks_;
166 #endif // MFEM_USE_MPI
168 #endif // MFEM_TESLA_SOLVER
Base class for vector Coefficients that optionally depend on time and space.
Abstract parallel finite element space.
void GetErrorEstimates(Vector &errors)
ParGridFunction * GetPsi()
The BoomerAMG solver in hypre.
SurfaceCurrent(ParFiniteElementSpace &H1FESpace, ParDiscreteGradOperator &Grad, Array< int > &kbcs, Array< int > &vbcs, Vector &vbcv)
Data collection with VisIt I/O routines.
void RegisterVisItFields(VisItDataCollection &visit_dc)
HYPRE_BigInt GetProblemSize()
void j_src(const Vector &x, double t, Vector &j)
Base class Coefficients that optionally depend on space and time. These are used by the BilinearFormI...
void WriteVisItFields(int it=0)
const ParGridFunction & GetVectorPotential()
void ComputeSurfaceCurrent(ParGridFunction &k)
Class for parallel grid function.
Wrapper for hypre's ParCSR matrix class.
Class for parallel meshes.
TeslaSolver(ParMesh &pmesh, int order, Array< int > &kbcs, Array< int > &vbcs, Vector &vbcv, Coefficient &muInvCoef, void(*a_bc)(const Vector &, Vector &), void(*j_src)(const Vector &, Vector &), void(*m_src)(const Vector &, Vector &))