ASPECT
material_properties.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) 2014-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_visualization_material_properties_h
17 #define _aspect_postprocess_visualization_material_properties_h
18 
21 
23 
24 
25 namespace aspect
26 {
27  namespace Postprocess
28  {
29  namespace VisualizationPostprocessors
30  {
43  template <int dim>
45  : public DataPostprocessor<dim>,
46  public SimulatorAccess<dim>,
47  public Interface<dim>
48  {
49  public:
51 
52  std::vector<std::string>
53  get_names () const override;
54 
55  std::vector<DataComponentInterpretation::DataComponentInterpretation>
56  get_data_component_interpretation () const override;
57 
59  get_needed_update_flags () const override;
60 
61  void
63  std::vector<Vector<double>> &computed_quantities) const override;
64 
65 
69  static
70  void
72 
76  void
77  parse_parameters (ParameterHandler &prm) override;
78 
79  private:
83  std::vector<std::string> property_names;
84  };
85  }
86  }
87 }
88 
89 #endif
std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const override
void evaluate_vector_field(const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double >> &computed_quantities) const override
UpdateFlags
std::vector< std::string > get_names() const override