MFEM  v4.4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
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, double(*phi_bc)(const Vector &), double(*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

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

Definition at line 25 of file volta_solver.cpp.

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

Definition at line 190 of file volta_solver.cpp.

Member Function Documentation

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

Definition at line 257 of file volta_solver.cpp.

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

Definition at line 592 of file volta_solver.cpp.

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

Definition at line 506 of file volta_solver.cpp.

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

Definition at line 236 of file volta_solver.cpp.

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

Definition at line 70 of file volta_solver.hpp.

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

Definition at line 558 of file volta_solver.cpp.

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

Definition at line 242 of file volta_solver.cpp.

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

Definition at line 528 of file volta_solver.cpp.

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

Definition at line 347 of file volta_solver.cpp.

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

Definition at line 307 of file volta_solver.cpp.

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: