ASPECT
melt_particle.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_property_melt_particle_h
16 #define _aspect_particle_property_melt_particle_h
17 
20 
21 namespace aspect
22 {
23  namespace Particle
24  {
25  namespace Property
26  {
36  template <int dim>
37  class MeltParticle : public Interface<dim>, public ::aspect::SimulatorAccess<dim>
38  {
39  public:
51  void
53  std::vector<double> &particle_properties) const override;
54 
58  void
60  typename ParticleHandler<dim>::particle_iterator_range &particles) const override;
61 
67  need_update () const override;
68 
73  get_update_flags (const unsigned int component) const override;
74 
82  std::vector<std::pair<std::string, unsigned int>>
83  get_property_information() const override;
84 
88  static
89  void
91 
95  void
96  parse_parameters (ParameterHandler &prm) override;
97 
98  private:
104  };
105  }
106  }
107 }
108 
109 #endif
static void declare_parameters(ParameterHandler &prm)
UpdateFlags get_update_flags(const unsigned int component) const override
UpdateFlags
boost::iterator_range< particle_iterator > particle_iterator_range
std::vector< std::pair< std::string, unsigned int > > get_property_information() const override
UpdateTimeFlags need_update() const override
void initialize_one_particle_property(const Point< dim > &position, std::vector< double > &particle_properties) const override
void update_particle_properties(const ParticleUpdateInputs< dim > &inputs, typename ParticleHandler< dim >::particle_iterator_range &particles) const override
void parse_parameters(ParameterHandler &prm) override