antioch-0.4.0
|
#include <cmath>
#include <limits>
#include "antioch/vector_utils_decl.h"
#include "antioch/physical_constants.h"
#include "antioch/chemical_mixture.h"
#include "antioch/stat_mech_thermo.h"
#include "antioch/vector_utils.h"
Go to the source code of this file.
Functions | |
template<typename Scalar > | |
bool | test_relative (const Scalar val, const Scalar truth, const Scalar tol) |
template<typename Scalar > | |
bool | test_zero (const Scalar val, const Scalar tol) |
template<typename Scalar > | |
int | test_cv_tr () |
template<typename Scalar > | |
int | test_cv_vib () |
template<typename Scalar > | |
Scalar | cv_el_compare (const unsigned int g[], const Scalar theta[], const Scalar Rs, const Scalar Te, unsigned int N) |
template<typename Scalar > | |
int | test_cv_el () |
template<typename Scalar > | |
int | test_T_from_e_tot () |
int | main () |
Scalar cv_el_compare | ( | const unsigned int | g[], |
const Scalar | theta[], | ||
const Scalar | Rs, | ||
const Scalar | Te, | ||
unsigned int | N | ||
) |
Definition at line 392 of file stat_mech_thermo_unit.C.
Referenced by test_cv_el().
int main | ( | ) |
Definition at line 630 of file stat_mech_thermo_unit.C.
int test_cv_el | ( | ) |
Definition at line 416 of file stat_mech_thermo_unit.C.
References Antioch::StatMechThermodynamics< CoeffType >::cv_el(), cv_el_compare(), and test_relative().
int test_cv_tr | ( | ) |
Definition at line 68 of file stat_mech_thermo_unit.C.
References Antioch::StatMechThermodynamics< CoeffType >::cv_tr(), and test_relative().
int test_cv_vib | ( | ) |
Definition at line 220 of file stat_mech_thermo_unit.C.
References Antioch::StatMechThermodynamics< CoeffType >::cv_vib(), test_relative(), and test_zero().
bool test_relative | ( | const Scalar | val, |
const Scalar | truth, | ||
const Scalar | tol | ||
) |
Definition at line 46 of file stat_mech_thermo_unit.C.
Referenced by test_cv_el(), test_cv_tr(), test_cv_vib(), and test_T_from_e_tot().
int test_T_from_e_tot | ( | ) |
Definition at line 528 of file stat_mech_thermo_unit.C.
References Antioch::StatMechThermodynamics< CoeffType >::e_tot(), Antioch::StatMechThermodynamics< CoeffType >::T_from_e_tot(), and test_relative().
bool test_zero | ( | const Scalar | val, |
const Scalar | tol | ||
) |
Definition at line 57 of file stat_mech_thermo_unit.C.
Referenced by test_cv_vib().