MFEM  v3.1
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, double(*eps)(const Vector &), double(*phi_bc)(const Vector &), double(*rho_src)(const Vector &), void(*p_src)(const Vector &, Vector &))
 
 ~VoltaSolver ()
 
HYPRE_Int GetProblemSize ()
 
void PrintSizes ()
 
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 38 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,
double(*)(const Vector &)  eps,
double(*)(const Vector &)  phi_bc,
double(*)(const Vector &)  rho_src,
void(*)(const Vector &, Vector &)  p_src 
)

Definition at line 26 of file volta_solver.cpp.

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

Definition at line 182 of file volta_solver.cpp.

Member Function Documentation

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

Definition at line 568 of file volta_solver.cpp.

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

Definition at line 485 of file volta_solver.cpp.

HYPRE_Int mfem::electromagnetics::VoltaSolver::GetProblemSize ( )

Definition at line 217 of file volta_solver.cpp.

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

Definition at line 68 of file volta_solver.hpp.

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

Definition at line 536 of file volta_solver.cpp.

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

Definition at line 223 of file volta_solver.cpp.

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

Definition at line 507 of file volta_solver.cpp.

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

Definition at line 302 of file volta_solver.cpp.

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

Definition at line 237 of file volta_solver.cpp.

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

Definition at line 520 of file volta_solver.cpp.


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