Doxygen API reference documentation for ideal.II
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_GRID_FIXED_TRIA_HH_
17 #define INCLUDE_IDEAL_II_GRID_FIXED_TRIA_HH_
18 
19 #include <list>
20 #include <memory>
21 
22 #include "spacetime_tria.hh"
23 
25 {
32  template <int dim>
34  {
35  public:
41  dealii::types::global_cell_index max_N_intervals_per_slab = 0);
42 
51  void
52  generate(std::shared_ptr<dealii::Triangulation<dim>> space_tria,
53  unsigned int M,
54  double t0 = 0.,
55  double T = 1.) override;
56 
57  void
58  refine_global(const unsigned int times_space = 1,
59  const unsigned int times_time = 1) override;
60  };
61 } // namespace idealii::spacetime::fixed
62 
63 #endif /* INCLUDE_IDEAL_II_GRID_FIXED_TRIA_HH_ */
The spacetime triangulation object.
Definition: spacetime_tria.hh:37
unsigned int M()
Return the number of slabs in the triangulation.
The spacetime triangulation object with a fixed spatial mesh across time.
Definition: fixed_tria.hh:34
Triangulation(dealii::types::global_cell_index max_N_intervals_per_slab=0)
Constructor that initializes the underlying list object.
void generate(std::shared_ptr< dealii::Triangulation< dim >> space_tria, unsigned int M, double t0=0., double T=1.) override
Generate a list of M slab triangulations with matching temporal meshes pointing to the same spatial t...
void refine_global(const unsigned int times_space=1, const unsigned int times_time=1) override
Do uniform mesh refinement in time and space.
Namespace for tensor product triangulations with a single fixed spatial mesh.
Definition: idealii.hh:94