Doxygen API reference documentation for ideal.II
Loading...
Searching...
No Matches
fixed_tria.hh
1// ---------------------------------------------------------------------
2//
3// Copyright (C) 2022 - 2023 by the ideal.II authors
4//
5// This file is part of the ideal.II library.
6//
7// The ideal.II library is free software; you can use it, redistribute
8// it, and/or modify it under the terms of the GNU Lesser General
9// Public License as published by the Free Software Foundation; either
10// version 3.0 of the License, or (at your option) any later version.
11// The full text of the license can be found in the file LICENSE.md at
12// the top level directory of ideal.II.
13//
14// ---------------------------------------------------------------------
15
16#ifndef INCLUDE_IDEAL_II_DISTRIBUTED_FIXED_TRIA_HH_
17#define INCLUDE_IDEAL_II_DISTRIBUTED_FIXED_TRIA_HH_
18
19#include <ideal.II/distributed/spacetime_tria.hh>
20
21#ifdef DEAL_II_WITH_MPI
22# include <list>
23# include <memory>
24
26{
33 template <int dim>
36 {
37 public:
43 dealii::types::global_cell_index max_N_intervals_per_slab = 0);
44
53 void
54 generate(std::shared_ptr<dealii::parallel::distributed::Triangulation<dim>>
56 unsigned int M,
57 double t0 = 0.,
58 double T = 1.);
59
60 void
61 refine_global(const unsigned int times_space = 1,
62 const unsigned int times_time = 1);
63 };
64} // namespace idealii::spacetime::parallel::distributed::fixed
65
66#endif
67#endif /* INCLUDE_IDEAL_II_DISTRIBUTED_FIXED_TRIA_HH_ */
The base class for quadrature formulae in space and time.
Definition spacetime_quadrature.hh:35
The spacetime triangulation object with MPI parallel distributed spatial meshes.
Definition spacetime_tria.hh:39
unsigned int M()
Return the number of slabs in the triangulation.
The spacetime triangulation object with a fixed MPI parallel dibstributed spatial mesh across time.
Definition fixed_tria.hh:36
void refine_global(const unsigned int times_space=1, const unsigned int times_time=1)
Do uniform mesh refinement in time and space.
void generate(std::shared_ptr< dealii::parallel::distributed::Triangulation< dim > > space_tria, unsigned int M, double t0=0., double T=1.)
Generate a list of M slab triangulations with matching temporal meshes pointing to the same spatial t...
Triangulation(dealii::types::global_cell_index max_N_intervals_per_slab=0)
Constructor that initializes the underlying list object.
Namespace for tensor product triangulations with a single fixed spatial mesh.
Definition idealii.hh:109