ASPECT
volume_of_fluid_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_visualization_volume_of_fluid_values_h
17 #define _aspect_postprocess_visualization_volume_of_fluid_values_h
18 
21 
22 namespace aspect
23 {
24  namespace Postprocess
25  {
26  namespace VisualizationPostprocessors
27  {
32  template <int dim>
34  : public DataPostprocessor<dim>,
35  public SimulatorAccess<dim>,
36  public Interface<dim>
37  {
38  public:
43 
48  std::vector<std::string>
49  get_names () const override;
50 
55  std::vector<DataComponentInterpretation::DataComponentInterpretation>
56  get_data_component_interpretation () const override;
57 
62  get_needed_update_flags () const override;
63 
67  void
69  std::vector<Vector<double>> &computed_quantities) const override;
70 
74  static
75  void
77 
81  void
82  parse_parameters (ParameterHandler &prm) override;
83 
84  private:
88  std::vector<std::string> volume_of_fluid_names;
89 
93  std::vector<DataComponentInterpretation::DataComponentInterpretation> interpretations;
94 
102 
109  };
110  }
111  }
112 }
113 
114 #endif
void evaluate_vector_field(const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double >> &computed_quantities) const override
std::vector< DataComponentInterpretation::DataComponentInterpretation > interpretations
UpdateFlags
std::vector< DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation() const override