MFEM  v4.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_Int 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 34 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 24 of file volta_solver.cpp.

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

Definition at line 181 of file volta_solver.cpp.

Member Function Documentation

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

Definition at line 241 of file volta_solver.cpp.

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

Definition at line 536 of file volta_solver.cpp.

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

Definition at line 454 of file volta_solver.cpp.

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

Definition at line 222 of file volta_solver.cpp.

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

Definition at line 67 of file volta_solver.hpp.

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

Definition at line 505 of file volta_solver.cpp.

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

Definition at line 228 of file volta_solver.cpp.

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

Definition at line 476 of file volta_solver.cpp.

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

Definition at line 320 of file volta_solver.cpp.

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

Definition at line 285 of file volta_solver.cpp.

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

Definition at line 489 of file volta_solver.cpp.


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