NeoN
A framework for CFD software
Loading...
Searching...
No Matches
NeoN::timeIntegration::ForwardEuler< SolutionVectorType > Class Template Reference

#include <forwardEuler.hpp>

Inheritance diagram for NeoN::timeIntegration::ForwardEuler< SolutionVectorType >:
NeoN::timeIntegration::template Register< ForwardEuler< SolutionVectorType > > NeoN::RuntimeSelectionFactory< Base, Params >

Public Types

using ValueType = typename SolutionVectorType::VectorValueType
using Base
Public Types inherited from NeoN::timeIntegration::template Register< ForwardEuler< SolutionVectorType > >
using ValueType
using Expression

Public Member Functions

 ForwardEuler (const Dictionary &schemeDict, const Dictionary &solutionDict)
void solve (dsl::Expression< ValueType > &eqn, SolutionVectorType &solutionVector, scalar t, scalar dt) override
std::unique_ptr< TimeIntegratorBase< SolutionVectorType > > clone () const override
Public Member Functions inherited from NeoN::timeIntegration::template Register< ForwardEuler< SolutionVectorType > >
 TimeIntegratorBase (const Dictionary &timeIntegrationDict, const Dictionary &solutionDict)
virtual ~TimeIntegratorBase ()
virtual void solve (Expression &eqn, SolutionVectorType &sol, scalar t, scalar dt)=0
virtual bool explicitIntegration () const

Static Public Member Functions

static std::string name ()
static std::string doc ()
static std::string schema ()
Static Public Member Functions inherited from NeoN::timeIntegration::template Register< ForwardEuler< SolutionVectorType > >
static std::string name ()

Additional Inherited Members

Protected Attributes inherited from NeoN::timeIntegration::template Register< ForwardEuler< SolutionVectorType > >
const Dictionary & timeIntegrationDict_
const Dictionary & solutionDict_

Detailed Description

template<typename SolutionVectorType>
class NeoN::timeIntegration::ForwardEuler< SolutionVectorType >

Definition at line 16 of file forwardEuler.hpp.

Member Typedef Documentation

◆ Base

template<typename SolutionVectorType>
using NeoN::timeIntegration::ForwardEuler< SolutionVectorType >::Base
Initial value:
TimeIntegratorBase(const Dictionary &timeIntegrationDict, const Dictionary &solutionDict)
A template class for registering derived classes with a base class.

Definition at line 24 of file forwardEuler.hpp.

◆ ValueType

template<typename SolutionVectorType>
using NeoN::timeIntegration::ForwardEuler< SolutionVectorType >::ValueType = typename SolutionVectorType::VectorValueType

Definition at line 23 of file forwardEuler.hpp.

Constructor & Destructor Documentation

◆ ForwardEuler()

template<typename SolutionVectorType>
NeoN::timeIntegration::ForwardEuler< SolutionVectorType >::ForwardEuler ( const Dictionary & schemeDict,
const Dictionary & solutionDict )
inline

Definition at line 27 of file forwardEuler.hpp.

Member Function Documentation

◆ clone()

template<typename SolutionVectorType>
std::unique_ptr< TimeIntegratorBase< SolutionVectorType > > NeoN::timeIntegration::ForwardEuler< SolutionVectorType >::clone ( ) const
inlineoverridevirtual

◆ doc()

template<typename SolutionVectorType>
std::string NeoN::timeIntegration::ForwardEuler< SolutionVectorType >::doc ( )
inlinestatic

Definition at line 33 of file forwardEuler.hpp.

◆ name()

template<typename SolutionVectorType>
std::string NeoN::timeIntegration::ForwardEuler< SolutionVectorType >::name ( )
inlinestatic

Definition at line 31 of file forwardEuler.hpp.

◆ schema()

template<typename SolutionVectorType>
std::string NeoN::timeIntegration::ForwardEuler< SolutionVectorType >::schema ( )
inlinestatic

Definition at line 35 of file forwardEuler.hpp.

◆ solve()

template<typename SolutionVectorType>
void NeoN::timeIntegration::ForwardEuler< SolutionVectorType >::solve ( dsl::Expression< ValueType > & eqn,
SolutionVectorType & solutionVector,
scalar t,
scalar dt )
inlineoverride

Definition at line 37 of file forwardEuler.hpp.


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