8#include <compile_time_options.h>
16#include <deal.II/base/parameter_acceptor.h>
17#include <deal.II/base/partitioner.h>
18#include <deal.II/base/smartpointer.h>
19#include <deal.II/dofs/dof_handler.h>
20#include <deal.II/lac/affine_constraints.h>
21#include <deal.II/lac/la_parallel_vector.h>
22#include <deal.II/lac/sparse_matrix.h>
24#include <deal.II/numerics/data_out.h>
51 template <
int dim,
typename Number =
double>
71 std::tuple<
unsigned int ,
72 dealii::Tensor<1, dim, Number> ,
75 dealii::types::boundary_id ,
91 const std::string &subsection =
"/OfflineData");
101 void prepare(
const unsigned int problem_dimension,
102 const unsigned int n_precomputed_values,
105 setup(problem_dimension, n_precomputed_values);
107 create_multigrid_data();
288 void create_constraints_and_sparsity_pattern();
297 void setup(const
unsigned int problem_dimension,
298 const
unsigned int n_precomputed_values);
308 void create_multigrid_data();
318 std::unique_ptr<dealii::DoFHandler<dim>> dof_handler_;
320 dealii::AffineConstraints<Number> affine_constraints_;
322 std::shared_ptr<const dealii::Utilities::MPI::Partitioner>
325 std::shared_ptr<const dealii::Utilities::MPI::Partitioner>
326 hyperbolic_vector_partitioner_;
328 std::shared_ptr<const dealii::Utilities::MPI::Partitioner>
329 precomputed_vector_partitioner_;
331 unsigned int n_parabolic_state_vectors_;
333 unsigned int n_export_indices_;
334 unsigned int n_locally_internal_;
335 unsigned int n_locally_owned_;
336 unsigned int n_locally_relevant_;
339 BoundaryMap boundary_map_;
340 std::vector<BoundaryMap> level_boundary_map_;
343 CouplingBoundaryPairs coupling_boundary_pairs_;
345 dealii::DynamicSparsityPattern sparsity_pattern_;
348 sparsity_pattern_simd_;
361 Number measure_of_omega_;
368 template <typename ITERATOR1, typename ITERATOR2>
369 BoundaryMap construct_boundary_map(
370 const ITERATOR1 &begin,
371 const ITERATOR2 &end,
372 const dealii::Utilities::MPI::Partitioner &partitioner) const;
378 template <typename ITERATOR1, typename ITERATOR2>
379 CouplingBoundaryPairs collect_coupling_boundary_pairs(
380 const ITERATOR1 &begin,
381 const ITERATOR2 &end,
382 const dealii::Utilities::MPI::Partitioner &partitioner) const;
390 double incidence_relaxation_even_;
391 double incidence_relaxation_odd_;
Vectors::ScalarVector< float > ScalarVectorFloat
auto & cij_matrix() const
auto & dof_handler() const
auto & n_locally_owned() const
auto & incidence_matrix() const
const auto & scalar_partitioner() const
void prepare(const unsigned int problem_dimension, const unsigned int n_precomputed_values, const unsigned int n_parabolic_state_vectors)
auto & n_locally_internal() const
auto & coupling_boundary_pairs() const
auto & boundary_map() const
auto & sparsity_pattern() const
auto & level_lumped_mass_matrix() const
auto & mass_matrix_inverse() const
const auto & hyperbolic_vector_partitioner() const
auto & discretization() const
const auto & precomputed_vector_partitioner() const
std::tuple< unsigned int, unsigned int, unsigned int > CouplingDescription
auto & mass_matrix() const
auto & sparsity_pattern_simd() const
Vectors::ScalarVector< Number > ScalarVector
auto & n_parabolic_state_vectors() const
auto & lumped_mass_matrix() const
std::tuple< unsigned int, dealii::Tensor< 1, dim, Number >, Number, Number, dealii::types::boundary_id, dealii::Point< dim > > BoundaryDescription
auto & n_locally_relevant() const
auto & level_boundary_map() const
OfflineData(const MPIEnsemble &mpi_ensemble, const Discretization< dim > &discretization, const std::string &subsection="/OfflineData")
auto & measure_of_omega() const
auto & lumped_mass_matrix_inverse() const
auto & n_export_indices() const
auto & affine_constraints() const
#define ACCESSOR_READ_ONLY(member)
#define ACCESSOR_READ_ONLY_NO_DEREFERENCE(member)
dealii::LinearAlgebra::distributed::Vector< Number > ScalarVector