ASPECT
point_values.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) 2016-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 
16 #ifndef _aspect_postprocess_point_values_h
17 #define _aspect_postprocess_point_values_h
18 
21 
23 
24 
25 namespace aspect
26 {
27  namespace Postprocess
28  {
29 
36  template <int dim>
37  class PointValues : public Interface<dim>, public ::aspect::SimulatorAccess<dim>
38  {
39  public:
43  PointValues ();
44 
49  std::pair<std::string,std::string>
50  execute (TableHandler &statistics) override;
51 
55  static
56  void
58 
62  void
63  parse_parameters (ParameterHandler &prm) override;
64 
68  void save (std::map<std::string, std::string> &status_strings) const override;
69 
73  void load (const std::map<std::string, std::string> &status_strings) override;
74 
79  template <class Archive>
80  void serialize (Archive &ar, const unsigned int version);
81 
82  private:
91  void set_last_output_time (const double current_time);
92 
99 
104 
109  std::vector<Point<dim>> evaluation_points_cartesian;
110 
114  std::vector<std::pair<double, std::vector<Vector<double>>>> point_values;
115 
123  };
124  }
125 }
126 
127 
128 #endif
std::vector< std::pair< double, std::vector< Vector< double > > > > point_values
Definition: point_values.h:114
static void declare_parameters(ParameterHandler &prm)
void serialize(Archive &ar, const unsigned int version)
void load(const std::map< std::string, std::string > &status_strings) override
std::vector< Point< dim > > evaluation_points_cartesian
Definition: point_values.h:109
void parse_parameters(ParameterHandler &prm) override
void save(std::map< std::string, std::string > &status_strings) const override
void set_last_output_time(const double current_time)
std::pair< std::string, std::string > execute(TableHandler &statistics) override