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

#include <tesla_solver.hpp>

Public Member Functions

 TeslaSolver (ParMesh &pmesh, int order, Array< int > &kbcs, Array< int > &vbcs, Vector &vbcv, Coefficient &muInvCoef, void(*a_bc)(const Vector &, Vector &), void(*j_src)(const Vector &, Vector &), void(*m_src)(const Vector &, Vector &))
 
 ~TeslaSolver ()
 
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 38 of file tesla_solver.hpp.

Constructor & Destructor Documentation

◆ TeslaSolver()

mfem::electromagnetics::TeslaSolver::TeslaSolver ( ParMesh & pmesh,
int order,
Array< int > & kbcs,
Array< int > & vbcs,
Vector & vbcv,
Coefficient & muInvCoef,
void(* a_bc )(const Vector &, Vector &),
void(* j_src )(const Vector &, Vector &),
void(* m_src )(const Vector &, Vector &) )

Definition at line 26 of file tesla_solver.cpp.

◆ ~TeslaSolver()

mfem::electromagnetics::TeslaSolver::~TeslaSolver ( )

Definition at line 178 of file tesla_solver.cpp.

Member Function Documentation

◆ Assemble()

void mfem::electromagnetics::TeslaSolver::Assemble ( )

Definition at line 237 of file tesla_solver.cpp.

◆ DisplayToGLVis()

void mfem::electromagnetics::TeslaSolver::DisplayToGLVis ( )

Definition at line 493 of file tesla_solver.cpp.

◆ GetErrorEstimates()

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

Definition at line 407 of file tesla_solver.cpp.

◆ GetProblemSize()

HYPRE_BigInt mfem::electromagnetics::TeslaSolver::GetProblemSize ( )

Definition at line 217 of file tesla_solver.cpp.

◆ GetVectorPotential()

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

Definition at line 69 of file tesla_solver.hpp.

◆ InitializeGLVis()

void mfem::electromagnetics::TeslaSolver::InitializeGLVis ( )

Definition at line 458 of file tesla_solver.cpp.

◆ PrintSizes()

void mfem::electromagnetics::TeslaSolver::PrintSizes ( )

Definition at line 223 of file tesla_solver.cpp.

◆ RegisterVisItFields()

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

Definition at line 428 of file tesla_solver.cpp.

◆ Solve()

void mfem::electromagnetics::TeslaSolver::Solve ( )

Definition at line 306 of file tesla_solver.cpp.

◆ Update()

void mfem::electromagnetics::TeslaSolver::Update ( )

Definition at line 268 of file tesla_solver.cpp.

◆ WriteVisItFields()

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

Definition at line 442 of file tesla_solver.cpp.


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