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  {
44  template <int dim>
45  struct EquationOfStateOutputs
46  {
60  EquationOfStateOutputs (const unsigned int n_individual_compositions_and_phases);
61 
65  std::vector<double> densities;
66 
71  std::vector<double> thermal_expansion_coefficients;
72 
76  std::vector<double> specific_heat_capacities;
77 
82  std::vector<double> compressibilities;
83 
89  std::vector<double> entropy_derivative_pressure;
90 
97  std::vector<double> entropy_derivative_temperature;
98  };
99 
100 
101 
114  template <int dim>
115  void
117  const std::vector<double> &phase_function_values,
118  const std::vector<unsigned int> &n_phase_transitions_per_composition,
119  EquationOfStateOutputs<dim> &eos_outputs);
120  }
121 }
122 
123 #endif
std::vector< double > thermal_expansion_coefficients
Definition: interface.h:71
EquationOfStateOutputs(const unsigned int n_individual_compositions_and_phases)
std::vector< double > specific_heat_capacities
Definition: interface.h:76
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:97
std::vector< double > entropy_derivative_pressure
Definition: interface.h:89