12 #ifndef MFEM_VOLTA_SOLVER
13 #define MFEM_VOLTA_SOLVER
15 #include "../common/pfem_extras.hpp"
26 using common::H1_ParFESpace;
27 using common::ND_ParFESpace;
28 using common::RT_ParFESpace;
29 using common::L2_ParFESpace;
30 using common::ParDiscreteGradOperator;
31 using common::ParDiscreteDivOperator;
33 namespace electromagnetics
43 double (*phi_bc )(
const Vector&),
44 double (*rho_src)(
const Vector&),
123 double (*phi_bc_func_ )(
const Vector&);
124 double (*rho_src_func_)(
const Vector&);
127 const Vector & point_charge_params_;
129 std::vector<DeltaCoefficient*> point_charges_;
131 std::map<std::string,socketstream*> socks_;
140 #endif // MFEM_USE_MPI
142 #endif // MFEM_VOLTA_SOLVER
void WriteVisItFields(int it=0)
Subclass constant coefficient.
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.