base class for Differential Equations systems solvers More...

#include <numeric_DAE.h>

Inheritance diagram for DeInterface:

Public Member Functions

 DeInterface (int n, double tstart, const std::vector< double > &x)
 
virtual ~DeInterface ()
 
int size (void) const
 
const std::vector< double > & get_state (void) const
 return a read-only reference to the vector of unknowns More...
 
double & setState (int i)
 return a reference to j-th value of the vector of unknowns More...
 
double time (void) const
 
virtual void do_integrate (double time)=0
 perform the integration up to time More...
 
virtual gmm::dense_matrix< double > do_integrate (const std::vector< double > &times)=0
 perform the integration in tout.size() steps up to tout[i] More...
 

Public Attributes

int NITER
 
int verbosityLocal
 local verbosity level More...
 

Protected Attributes

int n_
 number of functions and of unknowns More...
 
std::vector< double > x_
 unknowns More...
 
double t0_
 Integration start time. More...
 
double t_
 current time More...
 

Detailed Description

base class for Differential Equations systems solvers

#include <libpf/core/numeric_DAE.h>

Remarks
Warning
Thread safe:
Extendable:
Platform dependencies:

Constructor & Destructor Documentation

◆ DeInterface()

DeInterface::DeInterface ( int  n,
double  tstart,
const std::vector< double > &  x 
)
Parameters
nnumber of functions and of unknowns
tstartIntegration start time
xInitialization values for the vector of unknowns

◆ ~DeInterface()

virtual DeInterface::~DeInterface ( )
inlinevirtual

Member Function Documentation

◆ do_integrate() [1/2]

virtual gmm::dense_matrix< double > DeInterface::do_integrate ( const std::vector< double > &  times)
pure virtual

perform the integration in tout.size() steps up to tout[i]

Implemented in SolverDaeIda, and DaeInterface.

◆ do_integrate() [2/2]

virtual void DeInterface::do_integrate ( double  time)
pure virtual

perform the integration up to time

Implemented in SolverDaeIda, and DaeInterface.

◆ get_state()

const std::vector< double > & DeInterface::get_state ( void  ) const
inline

return a read-only reference to the vector of unknowns

◆ setState()

double & DeInterface::setState ( int  i)
inline

return a reference to j-th value of the vector of unknowns

◆ size()

int DeInterface::size ( void  ) const
inline

◆ time()

double DeInterface::time ( void  ) const
inline

Member Data Documentation

◆ n_

int DeInterface::n_
protected

number of functions and of unknowns

◆ NITER

int DeInterface::NITER

◆ t0_

double DeInterface::t0_
protected

Integration start time.

◆ t_

double DeInterface::t_
protected

current time

◆ verbosityLocal

int DeInterface::verbosityLocal

local verbosity level

◆ x_

std::vector<double> DeInterface::x_
protected

unknowns


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