12 #ifndef MFEM_VOLTA_SOLVER
13 #define MFEM_VOLTA_SOLVER
15 #include "../common/pfem_extras.hpp"
26 using miniapps::H1_ParFESpace;
27 using miniapps::ND_ParFESpace;
28 using miniapps::RT_ParFESpace;
29 using miniapps::ParDiscreteGradOperator;
31 namespace electromagnetics
41 double (*phi_bc )(
const Vector&),
42 double (*rho_src)(
const Vector&),
112 double (*phi_bc_ )(
const Vector&);
113 double (*rho_src_)(
const Vector&);
116 std::map<std::string,socketstream*> socks_;
125 #endif // MFEM_USE_MPI
127 #endif // MFEM_VOLTA_SOLVER
void WriteVisItFields(int it=0)
HYPRE_Int GetProblemSize()
void RegisterVisItFields(VisItDataCollection &visit_dc)
void GetErrorEstimates(Vector &errors)
Data collection with VisIt I/O routines.
Base class Coefficient that may optionally depend on time.
const ParGridFunction & GetVectorPotential()
Class for parallel grid function.
Class for parallel meshes.
VoltaSolver(ParMesh &pmesh, int order, Array< int > &dbcs, Vector &dbcv, Array< int > &nbcs, Vector &nbcv, Coefficient &epsCoef, double(*phi_bc)(const Vector &), double(*rho_src)(const Vector &), void(*p_src)(const Vector &, Vector &))