ExaDG
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ExaDG::KineticEnergyCalculator< dim, Number > Class Template Reference
Inheritance diagram for ExaDG::KineticEnergyCalculator< dim, Number >:
ExaDG::IncNS::KineticEnergyCalculatorDetailed< dim, Number >

Public Types

typedef dealii::LinearAlgebra::distributed::Vector< Number > VectorType
 
typedef dealii::VectorizedArray< Number > scalar
 
typedef dealii::Tensor< 1, dim, dealii::VectorizedArray< Number > > vector
 
typedef dealii::Tensor< 2, dim, dealii::VectorizedArray< Number > > tensor
 

Public Member Functions

 KineticEnergyCalculator (MPI_Comm const &comm)
 
void setup (dealii::MatrixFree< dim, Number > const &matrix_free_in, unsigned int const dof_index_in, unsigned int const quad_index_in, KineticEnergyData const &kinetic_energy_data_in)
 
void evaluate (VectorType const &velocity, double const time, bool const unsteady)
 

Public Attributes

TimeControl time_control
 

Static Public Attributes

static unsigned int const number_vorticity_components = (dim == 2) ? 1 : dim
 

Protected Member Functions

void calculate_basic (VectorType const &velocity, double const time)
 
Number integrate (dealii::MatrixFree< dim, Number > const &matrix_free_data, VectorType const &velocity, Number &energy, Number &enstrophy, Number &dissipation, Number &max_vorticity)
 
void cell_loop (dealii::MatrixFree< dim, Number > const &data, std::vector< Number > &dst, VectorType const &src, std::pair< unsigned int, unsigned int > const &cell_range)
 

Protected Attributes

MPI_Comm const mpi_comm
 
bool clear_files
 
dealii::MatrixFree< dim, Number > const * matrix_free
 
unsigned int dof_index
 
unsigned int quad_index
 
KineticEnergyData data
 

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