waves
Basic FE playground
waves::ForwardEuler Class Reference

simple explicit Forward Euler time integration More...

#include <wForwardEuler.h>

Inheritance diagram for waves::ForwardEuler:
Collaboration diagram for waves::ForwardEuler:

Public Member Functions

 ForwardEuler (std::shared_ptr< Problem > _pbl)
 
virtual ~ForwardEuler ()
 
virtual void start (tbox::MshExport *mshWriter) override
 
virtual const char * clsname () const override
 
- Public Member Functions inherited from waves::TimeIntegration
 TimeIntegration (std::shared_ptr< waves::Problem > _pbl)
 
void dummyIC ()
 
void buildS (Eigen::SparseMatrix< double, Eigen::RowMajor > &S2)
 
void buildKM (Eigen::SparseMatrix< double, Eigen::RowMajor > &K2, std::vector< double > &Md, std::vector< double > const &u)
 
void buildKM_tbb_lambda (Eigen::SparseMatrix< double, Eigen::RowMajor > &K2, std::vector< double > &Md, std::vector< double > const &u)
 
void setGUI (DisplayHook &hook)
 
void stop ()
 
virtual void write (std::ostream &out) const override
 

Additional Inherited Members

- Public Attributes inherited from waves::TimeIntegration
bool verbose
 
std::shared_ptr< Problempbl
 
DisplayHookdhook
 
bool stopit
 
int nthreads
 nb of threads for the assembly More...
 
Wgmsh wgmsh
 how to write results on disk? More...
 
double ttot
 final time More...
 
double dt
 time step More...
 
int savefreq
 archive/update_gui frequency More...
 
fwk::Timer chrono1
 
std::vector< double > u1
 
std::vector< double > v1
 

Detailed Description

simple explicit Forward Euler time integration

Constructor & Destructor Documentation

◆ ForwardEuler()

ForwardEuler::ForwardEuler ( std::shared_ptr< Problem _pbl)

◆ ~ForwardEuler()

virtual waves::ForwardEuler::~ForwardEuler ( )
inlinevirtual

Member Function Documentation

◆ clsname()

virtual const char* waves::ForwardEuler::clsname ( ) const
inlineoverridevirtual

Reimplemented from waves::TimeIntegration.

◆ start()

void ForwardEuler::start ( tbox::MshExport *  mshWriter)
overridevirtual

Reimplemented from waves::TimeIntegration.


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