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&),
114 double (*phi_bc_ )(
const Vector&);
115 double (*rho_src_)(
const Vector&);
118 const Vector & point_charge_params_;
120 std::vector<DeltaCoefficient*> point_charges_;
122 std::map<std::string,socketstream*> socks_;
131 #endif // MFEM_USE_MPI
133 #endif // MFEM_VOLTA_SOLVER
void WriteVisItFields(int it=0)
HYPRE_Int GetProblemSize()
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 &), Vector &point_charges)
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.