ASPECT
uniform_radial.h
Go to the documentation of this file.
1 // ------------------------------------------------------
2 //
3 // SPDX-License-Identifier: GPL-2.0-or-later
4 //
5 // SPDX-FileCopyrightText: Copyright (C) 2015-2026 by the ASPECT authors.
6 //
7 // This file is part of ASPECT.
8 //
9 // Detailed license information governing the source code and
10 // contributions can be found in the folder LICENSES and in
11 // LICENSE and CONTRIBUTING.md at the top level directory.
12 //
13 // ------------------------------------------------------
14 
15 #ifndef _aspect_particle_generator_uniform_radial_h
16 #define _aspect_particle_generator_uniform_radial_h
17 
19 
20 #include <array>
21 
22 namespace aspect
23 {
24  namespace Particle
25  {
26  namespace Generator
27  {
42  template <int dim>
43  class UniformRadial : public Interface<dim>
44  {
45  public:
53  void
54  generate_particles(Particles::ParticleHandler<dim> &particle_handler) override;
55 
59  static
60  void
62 
66  void
67  parse_parameters (ParameterHandler &prm) override;
68 
69  private:
70 
79  std::array<double,dim> P_min;
80 
88  std::array<double,dim> P_max;
89 
96 
104  unsigned int radial_layers;
105 
116  };
117 
118  }
119  }
120 }
121 
122 #endif
void generate_particles(Particles::ParticleHandler< dim > &particle_handler) override
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)