antioch-0.4.0
|
#include "antioch_config.h"
#include <cmath>
#include <limits>
#include <Eigen/Core>
#include "antioch/vector_utils_decl.h"
#include "antioch/eigen_utils_decl.h"
#include "antioch/physical_constants.h"
#include "antioch/chemical_mixture.h"
#include "antioch/stat_mech_thermo.h"
#include "antioch/vector_utils.h"
#include "antioch/eigen_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 411 of file stat_mech_thermo_unit_eigen.C.
Referenced by test_cv_el().
int main | ( | ) |
Definition at line 657 of file stat_mech_thermo_unit_eigen.C.
int test_cv_el | ( | ) |
Definition at line 435 of file stat_mech_thermo_unit_eigen.C.
References Antioch::StatMechThermodynamics< CoeffType >::cv_el(), cv_el_compare(), and test_relative().
int test_cv_tr | ( | ) |
Definition at line 80 of file stat_mech_thermo_unit_eigen.C.
References Antioch::StatMechThermodynamics< CoeffType >::cv_tr(), and test_relative().
int test_cv_vib | ( | ) |
Definition at line 236 of file stat_mech_thermo_unit_eigen.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 58 of file stat_mech_thermo_unit_eigen.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 551 of file stat_mech_thermo_unit_eigen.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 69 of file stat_mech_thermo_unit_eigen.C.
Referenced by test_cv_vib().