MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::electromagnetics::VoltaSolver Class Reference

#include <volta_solver.hpp>

Public Member Functions

 VoltaSolver (ParMesh &pmesh, int order, Array< int > &dbcs, Vector &dbcv, Array< int > &nbcs, Vector &nbcv, Coefficient &epsCoef, real_t(*phi_bc)(const Vector &), real_t(*rho_src)(const Vector &), void(*p_src)(const Vector &, Vector &), Vector &point_charges)
 
 ~VoltaSolver ()
 
HYPRE_BigInt GetProblemSize ()
 
void PrintSizes ()
 
void Assemble ()
 
void Update ()
 
void Solve ()
 
void GetErrorEstimates (Vector &errors)
 
void RegisterVisItFields (VisItDataCollection &visit_dc)
 
void WriteVisItFields (int it=0)
 
void InitializeGLVis ()
 
void DisplayToGLVis ()
 
const ParGridFunctionGetVectorPotential ()
 

Detailed Description

Definition at line 37 of file volta_solver.hpp.

Constructor & Destructor Documentation

◆ VoltaSolver()

mfem::electromagnetics::VoltaSolver::VoltaSolver ( ParMesh & pmesh,
int order,
Array< int > & dbcs,
Vector & dbcv,
Array< int > & nbcs,
Vector & nbcv,
Coefficient & epsCoef,
real_t(* phi_bc )(const Vector &),
real_t(* rho_src )(const Vector &),
void(* p_src )(const Vector &, Vector &),
Vector & point_charges )

Definition at line 25 of file volta_solver.cpp.

◆ ~VoltaSolver()

mfem::electromagnetics::VoltaSolver::~VoltaSolver ( )

Definition at line 190 of file volta_solver.cpp.

Member Function Documentation

◆ Assemble()

void mfem::electromagnetics::VoltaSolver::Assemble ( )

Definition at line 257 of file volta_solver.cpp.

◆ DisplayToGLVis()

void mfem::electromagnetics::VoltaSolver::DisplayToGLVis ( )

Definition at line 592 of file volta_solver.cpp.

◆ GetErrorEstimates()

void mfem::electromagnetics::VoltaSolver::GetErrorEstimates ( Vector & errors)

Definition at line 506 of file volta_solver.cpp.

◆ GetProblemSize()

HYPRE_BigInt mfem::electromagnetics::VoltaSolver::GetProblemSize ( )

Definition at line 236 of file volta_solver.cpp.

◆ GetVectorPotential()

const ParGridFunction & mfem::electromagnetics::VoltaSolver::GetVectorPotential ( )
inline

Definition at line 70 of file volta_solver.hpp.

◆ InitializeGLVis()

void mfem::electromagnetics::VoltaSolver::InitializeGLVis ( )

Definition at line 558 of file volta_solver.cpp.

◆ PrintSizes()

void mfem::electromagnetics::VoltaSolver::PrintSizes ( )

Definition at line 242 of file volta_solver.cpp.

◆ RegisterVisItFields()

void mfem::electromagnetics::VoltaSolver::RegisterVisItFields ( VisItDataCollection & visit_dc)

Definition at line 528 of file volta_solver.cpp.

◆ Solve()

void mfem::electromagnetics::VoltaSolver::Solve ( )

Definition at line 347 of file volta_solver.cpp.

◆ Update()

void mfem::electromagnetics::VoltaSolver::Update ( )

Definition at line 307 of file volta_solver.cpp.

◆ WriteVisItFields()

void mfem::electromagnetics::VoltaSolver::WriteVisItFields ( int it = 0)

Definition at line 542 of file volta_solver.cpp.


The documentation for this class was generated from the following files: