MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::SIASolver Class Referenceabstract

#include <ode.hpp>

Inheritance diagram for mfem::SIASolver:
[legend]
Collaboration diagram for mfem::SIASolver:
[legend]

Public Member Functions

 SIASolver ()
 
virtual void Init (Operator &P, TimeDependentOperator &F)
 
virtual void Step (Vector &q, Vector &p, real_t &t, real_t &dt)=0
 
virtual void Run (Vector &q, Vector &p, real_t &t, real_t &dt, real_t tf)
 
virtual ~SIASolver ()
 

Protected Attributes

TimeDependentOperatorF_
 
OperatorP_
 
Vector dp_
 
Vector dq_
 

Detailed Description

The SIASolver class is based on the Symplectic Integration Algorithm described in "A Symplectic Integration Algorithm for Separable Hamiltonian Functions" by J. Candy and W. Rozmus, Journal of Computational Physics, Vol. 92, pages 230-256 (1991). The Symplectic Integration Algorithm (SIA) is designed for systems of first order ODEs derived from a Hamiltonian. H(q,p,t) = T(p) + V(q,t) Which leads to the equations: dq/dt = dT/dp dp/dt = -dV/dq In the integrator the operators P and F are defined to be: P = dT/dp F = -dV/dq

Definition at line 570 of file ode.hpp.

Constructor & Destructor Documentation

◆ SIASolver()

mfem::SIASolver::SIASolver ( )
inline

Definition at line 573 of file ode.hpp.

◆ ~SIASolver()

virtual mfem::SIASolver::~SIASolver ( )
inlinevirtual

Definition at line 584 of file ode.hpp.

Member Function Documentation

◆ Init()

void mfem::SIASolver::Init ( Operator & P,
TimeDependentOperator & F )
virtual

Definition at line 916 of file ode.cpp.

◆ Run()

virtual void mfem::SIASolver::Run ( Vector & q,
Vector & p,
real_t & t,
real_t & dt,
real_t tf )
inlinevirtual

Definition at line 579 of file ode.hpp.

◆ Step()

virtual void mfem::SIASolver::Step ( Vector & q,
Vector & p,
real_t & t,
real_t & dt )
pure virtual

Member Data Documentation

◆ dp_

Vector mfem::SIASolver::dp_
mutableprotected

Definition at line 590 of file ode.hpp.

◆ dq_

Vector mfem::SIASolver::dq_
mutableprotected

Definition at line 591 of file ode.hpp.

◆ F_

TimeDependentOperator* mfem::SIASolver::F_
protected

Definition at line 587 of file ode.hpp.

◆ P_

Operator* mfem::SIASolver::P_
protected

Definition at line 588 of file ode.hpp.


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