ASPECT
viscoplastic_strain_invariants.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-2024 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_viscoplastic_strain_invariant_h
16 #define _aspect_particle_property_viscoplastic_strain_invariant_h
17 
21 
22 namespace aspect
23 {
24  namespace Particle
25  {
26  namespace Property
27  {
38  template <int dim>
40  {
41  public:
46 
47  void initialize () override;
48 
49 
53  void
55  std::vector<double> &particle_properties) const override;
56 
60  void
62  typename ParticleHandler<dim>::particle_iterator_range &particles) const override;
63 
68  need_update () const override;
69 
74  get_update_flags (const unsigned int component) const override;
75 
79  std::vector<std::pair<std::string, unsigned int>>
80  get_property_information() const override;
81 
82  private:
83  unsigned int n_components;
84 
95  };
96  }
97  }
98 }
99 
100 #endif
UpdateFlags get_update_flags(const unsigned int component) const override
void initialize_one_particle_property(const Point< dim > &position, std::vector< double > &particle_properties) const override
UpdateFlags
boost::iterator_range< particle_iterator > particle_iterator_range
void update_particle_properties(const ParticleUpdateInputs< dim > &inputs, typename ParticleHandler< dim >::particle_iterator_range &particles) const override
std::vector< std::pair< std::string, unsigned int > > get_property_information() const override