8#include <compile_time_options.h>
15#include <deal.II/base/parameter_acceptor.h>
16#include <deal.II/base/partitioner.h>
17#include <deal.II/base/smartpointer.h>
18#include <deal.II/dofs/dof_handler.h>
19#include <deal.II/lac/affine_constraints.h>
20#include <deal.II/lac/la_parallel_vector.h>
21#include <deal.II/lac/sparse_matrix.h>
23#include <deal.II/numerics/data_out.h>
47 template <
int dim,
typename Number =
double>
67 std::tuple<
unsigned int ,
68 dealii::Tensor<1, dim, Number> ,
71 dealii::types::boundary_id ,
87 const std::string &subsection =
"/OfflineData");
97 void prepare(
const unsigned int problem_dimension,
98 const unsigned int n_precomputed_values)
100 setup(problem_dimension, n_precomputed_values);
102 create_multigrid_data();
276 void create_constraints_and_sparsity_pattern();
285 void setup(const
unsigned int problem_dimension,
286 const
unsigned int n_precomputed_values);
296 void create_multigrid_data();
298 std::unique_ptr<dealii::DoFHandler<dim>> dof_handler_;
300 dealii::AffineConstraints<Number> affine_constraints_;
302 std::shared_ptr<const dealii::Utilities::MPI::Partitioner>
305 std::shared_ptr<const dealii::Utilities::MPI::Partitioner>
306 hyperbolic_vector_partitioner_;
308 std::shared_ptr<const dealii::Utilities::MPI::Partitioner>
309 precomputed_vector_partitioner_;
311 unsigned int n_export_indices_;
312 unsigned int n_locally_internal_;
313 unsigned int n_locally_owned_;
314 unsigned int n_locally_relevant_;
317 BoundaryMap boundary_map_;
318 std::vector<BoundaryMap> level_boundary_map_;
321 CouplingBoundaryPairs coupling_boundary_pairs_;
323 dealii::DynamicSparsityPattern sparsity_pattern_;
326 sparsity_pattern_simd_;
339 Number measure_of_omega_;
343 const MPI_Comm &mpi_communicator_;
348 template <typename ITERATOR1, typename ITERATOR2>
349 BoundaryMap construct_boundary_map(
350 const ITERATOR1 &begin,
351 const ITERATOR2 &end,
352 const dealii::Utilities::MPI::Partitioner &partitioner) const;
358 template <typename ITERATOR1, typename ITERATOR2>
359 CouplingBoundaryPairs collect_coupling_boundary_pairs(
360 const ITERATOR1 &begin,
361 const ITERATOR2 &end,
362 const dealii::Utilities::MPI::Partitioner &partitioner) const;
370 double incidence_relaxation_even_;
371 double incidence_relaxation_odd_;
Vectors::ScalarVector< float > ScalarVectorFloat
auto & cij_matrix() const
auto & dof_handler() const
auto & n_locally_owned() const
void prepare(const unsigned int problem_dimension, const unsigned int n_precomputed_values)
auto & incidence_matrix() const
const auto & scalar_partitioner() const
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 & 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 MPI_Comm &mpi_communicator, 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