ExaDG
Loading...
Searching...
No Matches
ExaDG::IncNS::TimeIntInterpolateAnalyticalSolution< dim, Number > Class Template Reference

#include <time_int_interpolate_analytical_solution.h>

Inheritance diagram for ExaDG::IncNS::TimeIntInterpolateAnalyticalSolution< dim, Number >:
ExaDG::IncNS::TimeIntBDF< dim, Number > ExaDG::TimeIntBDFBase ExaDG::TimeIntMultistepBase ExaDG::TimeIntBase

Public Member Functions

 TimeIntInterpolateAnalyticalSolution (std::shared_ptr< Operator > 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)
void print_iterations () const final
VectorType const & get_velocity () const final
VectorType const & get_pressure () const final
VectorType const & get_velocity_np () const final
VectorType const & get_pressure_np () const final
Public Member Functions inherited from ExaDG::IncNS::TimeIntBDF< dim, Number >
 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)
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, bool const update_velocity, bool const update_pressure)
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

Additional Inherited Members

Public Types inherited from ExaDG::IncNS::TimeIntBDF< dim, Number >
using Base = TimeIntBDFBase
using VectorType = dealii::LinearAlgebra::distributed::Vector<Number>
using BlockVectorType = dealii::LinearAlgebra::distributed::BlockVector<Number>
using BoostInputArchiveType = TimeIntBase::BoostInputArchiveType
using BoostOutputArchiveType = TimeIntBase::BoostOutputArchiveType
Public Types inherited from ExaDG::TimeIntMultistepBase
using BoostInputArchiveType = TimeIntBase::BoostInputArchiveType
using BoostOutputArchiveType = TimeIntBase::BoostOutputArchiveType
Public Types inherited from ExaDG::TimeIntBase
typedef boost::archive::binary_iarchive BoostInputArchiveType
typedef boost::archive::binary_oarchive BoostOutputArchiveType
Protected Member Functions inherited from ExaDG::IncNS::TimeIntBDF< dim, Number >
void setup_derived () override
void read_restart_vectors () final
void write_restart_vectors () const final
virtual void get_vectors_serialization (std::vector< VectorType const * > &vectors_velocity, std::vector< VectorType const * > &vectors_pressure) const
virtual void set_vectors_deserialization (std::vector< VectorType > const &vectors_velocity, std::vector< VectorType > const &vectors_pressure)
virtual void update_after_deserialization ()
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 ()
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 inherited from ExaDG::IncNS::TimeIntBDF< dim, Number >
Parameters const & param
unsigned int const refine_steps_time
double const cfl
std::shared_ptr< SpatialOperatorBase< dim, Number > > operator_base
bool needs_vector_convective_term
std::vector< VectorType > vec_convective_term
VectorType convective_term_np
bool use_extrapolation
bool store_solution
bool update_velocity
bool update_pressure
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

Detailed Description

template<int dim, typename Number>
class ExaDG::IncNS::TimeIntInterpolateAnalyticalSolution< dim, Number >

A class that sets the analytical solution for the next time instead of computing it. To be able to compute temporal derivatives etc. this class is based on TimeIntBDF.

Member Function Documentation

◆ get_pressure()

template<int dim, typename Number>
VectorType const & ExaDG::IncNS::TimeIntInterpolateAnalyticalSolution< dim, Number >::get_pressure ( ) const
inlinefinalvirtual

◆ get_pressure_np()

template<int dim, typename Number>
VectorType const & ExaDG::IncNS::TimeIntInterpolateAnalyticalSolution< dim, Number >::get_pressure_np ( ) const
inlinefinalvirtual

◆ get_velocity()

template<int dim, typename Number>
VectorType const & ExaDG::IncNS::TimeIntInterpolateAnalyticalSolution< dim, Number >::get_velocity ( ) const
inlinefinalvirtual

◆ get_velocity_np()

template<int dim, typename Number>
VectorType const & ExaDG::IncNS::TimeIntInterpolateAnalyticalSolution< dim, Number >::get_velocity_np ( ) const
inlinefinalvirtual

◆ print_iterations()

template<int dim, typename Number>
void ExaDG::IncNS::TimeIntInterpolateAnalyticalSolution< dim, Number >::print_iterations ( ) const
inlinefinalvirtual

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