ASPECT
interface.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2011 - 2023 by the authors of the ASPECT code.
3 
4  This file is part of ASPECT.
5 
6  ASPECT is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2, or (at your option)
9  any later version.
10 
11  ASPECT is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with ASPECT; see the file LICENSE. If not see
18  <http://www.gnu.org/licenses/>.
19 */
20 
21 #ifndef _aspect_material_model_equation_of_state_interface_h
22 #define _aspect_material_model_equation_of_state_interface_h
23 
24 #include <aspect/global.h>
27 
28 
29 
30 namespace aspect
31 {
32  namespace MaterialModel
33  {
34  using namespace dealii;
35 
46  template <int dim>
47  struct EquationOfStateOutputs
48  {
62  EquationOfStateOutputs (const unsigned int n_individual_compositions_and_phases);
63 
67  std::vector<double> densities;
68 
73  std::vector<double> thermal_expansion_coefficients;
74 
78  std::vector<double> specific_heat_capacities;
79 
84  std::vector<double> compressibilities;
85 
91  std::vector<double> entropy_derivative_pressure;
92 
99  std::vector<double> entropy_derivative_temperature;
100  };
101 
102 
103 
116  template <int dim>
117  void
119  const std::vector<double> &phase_function_values,
120  const std::vector<unsigned int> &n_phase_transitions_per_composition,
121  EquationOfStateOutputs<dim> &eos_outputs);
122  }
123 }
124 
125 #endif
std::vector< double > thermal_expansion_coefficients
Definition: interface.h:73
std::vector< double > specific_heat_capacities
Definition: interface.h:78
void phase_average_equation_of_state_outputs(const EquationOfStateOutputs< dim > &eos_outputs_all_phases, const std::vector< double > &phase_function_values, const std::vector< unsigned int > &n_phase_transitions_per_composition, EquationOfStateOutputs< dim > &eos_outputs)
Definition: compat.h:59
std::vector< double > entropy_derivative_temperature
Definition: interface.h:99
Definition: compat.h:42
std::vector< double > entropy_derivative_pressure
Definition: interface.h:91