ExaDG
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ExaDG::CompNS::Operator< dim, Number > Class Template Reference
Inheritance diagram for ExaDG::CompNS::Operator< dim, Number >:
ExaDG::CompNS::Interface::Operator< Number >

Public Member Functions

 Operator (std::shared_ptr< Grid< dim > const > grid, std::shared_ptr< dealii::Mapping< dim > const > mapping, std::shared_ptr< BoundaryDescriptor< dim > const > boundary_descriptor, std::shared_ptr< FieldFunctions< dim > const > field_functions, Parameters const &param, std::string const &field, MPI_Comm const &mpi_comm)
 
void fill_matrix_free_data (MatrixFreeData< dim, Number > &matrix_free_data) const
 
void setup ()
 
void setup (std::shared_ptr< dealii::MatrixFree< dim, Number > const > matrix_free, std::shared_ptr< MatrixFreeData< dim, Number > const > matrix_free_data)
 
dealii::types::global_dof_index get_number_of_dofs () const
 
void initialize_dof_vector (VectorType &src) const final
 
void initialize_dof_vector_scalar (VectorType &src) const
 
void initialize_dof_vector_dim_components (VectorType &src) const
 
void prescribe_initial_conditions (VectorType &src, double const time) const final
 
void evaluate (VectorType &dst, VectorType const &src, Number const time) const final
 
void evaluate_convective (VectorType &dst, VectorType const &src, Number const time) const
 
void evaluate_viscous (VectorType &dst, VectorType const &src, Number const time) const
 
void evaluate_convective_and_viscous (VectorType &dst, VectorType const &src, Number const time) const
 
void apply_inverse_mass (VectorType &dst, VectorType const &src) const
 
dealii::MatrixFree< dim, Number > const & get_matrix_free () const
 
dealii::Mapping< dim > const & get_mapping () const
 
dealii::FiniteElement< dim > const & get_fe () const
 
dealii::DoFHandler< dim > const & get_dof_handler () const
 
dealii::DoFHandler< dim > const & get_dof_handler_scalar () const
 
dealii::DoFHandler< dim > const & get_dof_handler_vector () const
 
unsigned int get_dof_index_vector () const
 
unsigned int get_dof_index_scalar () const
 
unsigned int get_quad_index_standard () const
 
void compute_pressure (VectorType &dst, VectorType const &src) const
 
void compute_velocity (VectorType &dst, VectorType const &src) const
 
void compute_temperature (VectorType &dst, VectorType const &src) const
 
void compute_vorticity (VectorType &dst, VectorType const &src) const
 
void compute_divergence (VectorType &dst, VectorType const &src) const
 
void compute_shear_rate (VectorType &dst, VectorType const &src) const
 
double get_wall_time_operator_evaluation () const final
 
double calculate_time_step_cfl_global () const final
 
double calculate_time_step_diffusion () const final
 

Additional Inherited Members

- Public Types inherited from ExaDG::CompNS::Interface::Operator< Number >
typedef dealii::LinearAlgebra::distributed::Vector< Number > VectorType
 

Member Function Documentation

◆ calculate_time_step_cfl_global()

template<int dim, typename Number >
double ExaDG::CompNS::Operator< dim, Number >::calculate_time_step_cfl_global ( ) const
finalvirtual

◆ calculate_time_step_diffusion()

template<int dim, typename Number >
double ExaDG::CompNS::Operator< dim, Number >::calculate_time_step_diffusion ( ) const
finalvirtual

◆ evaluate()

template<int dim, typename Number >
void ExaDG::CompNS::Operator< dim, Number >::evaluate ( VectorType & dst,
VectorType const & src,
Number const time ) const
finalvirtual

◆ get_wall_time_operator_evaluation()

template<int dim, typename Number >
double ExaDG::CompNS::Operator< dim, Number >::get_wall_time_operator_evaluation ( ) const
finalvirtual

◆ initialize_dof_vector()

template<int dim, typename Number >
void ExaDG::CompNS::Operator< dim, Number >::initialize_dof_vector ( VectorType & src) const
finalvirtual

◆ prescribe_initial_conditions()

template<int dim, typename Number >
void ExaDG::CompNS::Operator< dim, Number >::prescribe_initial_conditions ( VectorType & src,
double const time ) const
finalvirtual

◆ setup() [1/2]

template<int dim, typename Number >
void ExaDG::CompNS::Operator< dim, Number >::setup ( )

Call this setup() function if the dealii::MatrixFree object can be set up by the present class.

◆ setup() [2/2]

template<int dim, typename Number >
void ExaDG::CompNS::Operator< dim, Number >::setup ( std::shared_ptr< dealii::MatrixFree< dim, Number > const > matrix_free,
std::shared_ptr< MatrixFreeData< dim, Number > const > matrix_free_data )

Call this setup() function if the dealii::MatrixFree object needs to be created outside this class. The typical use case would be multiphysics-coupling with one MatrixFree object handed over to several single-field solvers.


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