ASPECT
random_uniform.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_random_uniform_h
16 #define _aspect_particle_generator_random_uniform_h
17 
19 
20 namespace aspect
21 {
22  namespace Particle
23  {
24  namespace Generator
25  {
31  template <int dim>
32  class RandomUniform : public Interface<dim>
33  {
34  public:
43  void
44  generate_particles(Particles::ParticleHandler<dim> &particle_handler) override;
45 
49  static
50  void
52 
56  void
57  parse_parameters (ParameterHandler &prm) override;
58 
59  private:
67 
79 
87  unsigned int random_number_seed;
88  };
89 
90  }
91  }
92 }
93 
94 #endif
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override
void generate_particles(Particles::ParticleHandler< dim > &particle_handler) override