ExaDG
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ExaDG::IncNS::TimeIntBDF< dim, Number > Class Template Referenceabstract
Inheritance diagram for ExaDG::IncNS::TimeIntBDF< dim, Number >:
ExaDG::TimeIntBDFBase ExaDG::TimeIntMultistepBase ExaDG::TimeIntBase ExaDG::IncNS::TimeIntBDFCoupled< dim, Number > ExaDG::IncNS::TimeIntBDFDualSplitting< dim, Number > ExaDG::IncNS::TimeIntBDFPressureCorrection< dim, Number >

Public Types

using Base = TimeIntBDFBase
 
using VectorType = dealii::LinearAlgebra::distributed::Vector<Number>
 
using BlockVectorType = dealii::LinearAlgebra::distributed::BlockVector<Number>
 

Public Member Functions

 TimeIntBDF (std::shared_ptr< SpatialOperatorBase< dim, Number > > operator_in, std::shared_ptr< HelpersALE< dim, Number > const > helpers_ale_in, std::shared_ptr< PostProcessorInterface< Number > > postprocessor_in, Parameters const &param_in, MPI_Comm const &mpi_comm_in, bool const is_test_in)
 
virtual VectorType const & get_velocity () const =0
 
virtual VectorType const & get_velocity_np () const =0
 
virtual VectorType const & get_pressure () const =0
 
virtual VectorType const & get_pressure_np () const =0
 
void get_velocities_and_times (std::vector< VectorType const * > &velocities, std::vector< double > &times) const
 
void get_velocities_and_times_np (std::vector< VectorType const * > &velocities, std::vector< double > &times) const
 
void get_pressures_and_times (std::vector< VectorType const * > &pressures, std::vector< double > &times) const
 
void get_pressures_and_times_np (std::vector< VectorType const * > &pressures, std::vector< double > &times) const
 
void ale_update ()
 
void advance_one_timestep_partitioned_solve (bool const use_extrapolation)
 
virtual void print_iterations () const =0
 
bool print_solver_info () const final
 
- Public Member Functions inherited from ExaDG::TimeIntBDFBase
 TimeIntBDFBase (double const start_time_, double const end_time_, unsigned int const max_number_of_time_steps_, unsigned const order_, bool const start_with_low_order_, bool const adaptive_time_stepping_, RestartData const &restart_data_, MPI_Comm const &mpi_comm_, bool const is_test_)
 
- Public Member Functions inherited from ExaDG::TimeIntMultistepBase
 TimeIntMultistepBase (double const start_time_, double const end_time_, unsigned int const max_number_of_time_steps_, unsigned const order_, bool const start_with_low_order_, bool const adaptive_time_stepping_, RestartData const &restart_data_, MPI_Comm const &mpi_comm_, bool const is_test_)
 
void setup (bool const do_restart) final
 
void timeloop_steady_problem ()
 
double get_time_step_size () const final
 
double get_time_step_size (int const index) const
 
void set_current_time_step_size (double const &time_step_size) final
 
double get_previous_time (int const i) const
 
- Public Member Functions inherited from ExaDG::TimeIntBase
 TimeIntBase (double const &start_time_, double const &end_time_, unsigned int const max_number_of_time_steps_, RestartData const &restart_data_, MPI_Comm const &mpi_comm_, bool const is_test_)
 
bool started () const
 
bool finished () const
 
void timeloop ()
 
void advance_one_timestep ()
 
void advance_one_timestep_pre_solve (bool const print_header)
 
void advance_one_timestep_solve ()
 
void advance_one_timestep_post_solve ()
 
void reset_time (double const &current_time)
 
virtual void prepare_coarsening_and_refinement ()
 
virtual void interpolate_after_coarsening_and_refinement ()
 
double get_time () const
 
double get_next_time () const
 
unsigned int get_number_of_time_steps () const
 
std::shared_ptr< TimerTreeget_timings () const
 

Protected Member Functions

void allocate_vectors () override
 
void setup_derived () override
 
void read_restart_vectors (boost::archive::binary_iarchive &ia) override
 
void write_restart_vectors (boost::archive::binary_oarchive &oa) const override
 
void prepare_vectors_for_next_timestep () override
 
- Protected Member Functions inherited from ExaDG::TimeIntBDFBase
double get_scaling_factor_time_derivative_term () const
 
void update_time_integrator_constants () override
 
- Protected Member Functions inherited from ExaDG::TimeIntMultistepBase
unsigned int get_current_order () const
 
void do_timestep_pre_solve (bool const print_header) final
 
void do_timestep_post_solve () final
 
std::vector< double > get_time_step_vector () const
 
void push_back_time_step_sizes ()
 
- Protected Member Functions inherited from ExaDG::TimeIntBase
void do_timestep ()
 
virtual void do_timestep_solve ()=0
 
types::time_step get_time_step_number () const
 
void write_restart () const
 
void read_restart ()
 
void output_solver_info_header () const
 
void output_remaining_time () const
 

Protected Attributes

Parameters const & param
 
unsigned int const refine_steps_time
 
double const cfl
 
std::shared_ptr< SpatialOperatorBase< dim, Number > > operator_base
 
std::vector< VectorType > vec_convective_term
 
VectorType convective_term_np
 
bool use_extrapolation
 
bool store_solution
 
std::shared_ptr< HelpersALE< dim, Number > const > helpers_ale
 
- Protected Attributes inherited from ExaDG::TimeIntBDFBase
BDFTimeIntegratorConstants bdf
 
ExtrapolationConstants extra
 
- Protected Attributes inherited from ExaDG::TimeIntMultistepBase
unsigned int const order
 
bool const start_with_low_order
 
bool const adaptive_time_stepping
 
std::vector< double > time_steps
 
- Protected Attributes inherited from ExaDG::TimeIntBase
double start_time
 
double end_time
 
double time
 
double const eps
 
dealii::ConditionalOStream pcout
 
types::time_step time_step_number
 
unsigned int const max_number_of_time_steps
 
RestartData const restart_data
 
MPI_Comm const mpi_comm
 
dealii::Timer global_timer
 
std::shared_ptr< TimerTreetimer_tree
 
bool is_test
 

Member Function Documentation

◆ allocate_vectors()

template<int dim, typename Number >
void ExaDG::IncNS::TimeIntBDF< dim, Number >::allocate_vectors ( )
overrideprotectedvirtual

◆ prepare_vectors_for_next_timestep()

template<int dim, typename Number >
void ExaDG::IncNS::TimeIntBDF< dim, Number >::prepare_vectors_for_next_timestep ( )
overrideprotectedvirtual

◆ print_solver_info()

template<int dim, typename Number >
bool ExaDG::IncNS::TimeIntBDF< dim, Number >::print_solver_info ( ) const
finalvirtual

◆ read_restart_vectors()

template<int dim, typename Number >
void ExaDG::IncNS::TimeIntBDF< dim, Number >::read_restart_vectors ( boost::archive::binary_iarchive & ia)
overrideprotectedvirtual

◆ setup_derived()

template<int dim, typename Number >
void ExaDG::IncNS::TimeIntBDF< dim, Number >::setup_derived ( )
overrideprotectedvirtual

◆ write_restart_vectors()

template<int dim, typename Number >
void ExaDG::IncNS::TimeIntBDF< dim, Number >::write_restart_vectors ( boost::archive::binary_oarchive & oa) const
overrideprotectedvirtual

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