ASPECT
Classes | Namespaces | Macros | Typedefs | Functions | Variables
global.h File Reference
Include dependency graph for global.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  aspect::QuietException
 

Namespaces

 aspect
 
 aspect::constants
 
 aspect::constants::earth
 
 aspect::constants::earth::masses
 
 aspect::constants::earth::iasp91_radii
 
 aspect::constants::earth::prem_gravity
 
 aspect::constants::mars
 
 aspect::constants::mars::radii
 
 aspect::LinearAlgebra
 

Macros

#define ASPECT_INSTANTIATE(INSTANTIATIONS)
 

Typedefs

using aspect::iarchive = boost::archive::binary_iarchive
 
using aspect::oarchive = boost::archive::binary_oarchive
 
template<class T , unsigned int N = 100>
using aspect::small_vector = boost::container::small_vector< T, N >
 
using aspect::LinearAlgebra::Vector = ::TrilinosWrappers::MPI::Vector
 
using aspect::LinearAlgebra::BlockVector = ::TrilinosWrappers::MPI::BlockVector
 
using aspect::LinearAlgebra::SparseMatrix = ::TrilinosWrappers::SparseMatrix
 
using aspect::LinearAlgebra::BlockSparseMatrix = ::TrilinosWrappers::BlockSparseMatrix
 
using aspect::LinearAlgebra::PreconditionBase = ::TrilinosWrappers::PreconditionBase
 
using aspect::LinearAlgebra::PreconditionAMG = ::TrilinosWrappers::PreconditionAMG
 
using aspect::LinearAlgebra::PreconditionIC = ::TrilinosWrappers::PreconditionIC
 
using aspect::LinearAlgebra::PreconditionILU = ::TrilinosWrappers::PreconditionILU
 
using aspect::LinearAlgebra::PreconditionJacobi = ::TrilinosWrappers::PreconditionJacobi
 
using aspect::LinearAlgebra::BlockDynamicSparsityPattern = ::TrilinosWrappers::BlockSparsityPattern
 
using aspect::LinearAlgebra::DynamicSparsityPattern = ::TrilinosWrappers::SparsityPattern
 

Functions

template<class Stream >
void print_aspect_header (Stream &stream)
 

Variables

constexpr double aspect::constants::year_in_seconds = 60*60*24*365.2425
 
constexpr double aspect::constants::celsius_to_kelvin = 273.15
 
constexpr double aspect::constants::degree_to_radians = ::numbers::PI / 180.
 
constexpr double aspect::constants::radians_to_degree = 180. / ::numbers::PI
 
constexpr double aspect::constants::gas_constant = 8.3144621
 
constexpr double aspect::constants::avogadro = 6.02214129e23
 
constexpr double aspect::constants::big_g = 6.67430e-11
 
constexpr double aspect::constants::earth::masses::planet = 5.9736e24
 
constexpr double aspect::constants::earth::masses::core = 1.932e24
 
constexpr double aspect::constants::earth::masses::mantle = 4.043e24
 
constexpr double aspect::constants::earth::iasp91_radii::inner_core = 1.2171e6
 
constexpr double aspect::constants::earth::iasp91_radii::core = 3.482e6
 
constexpr double aspect::constants::earth::iasp91_radii::lower_mantle = 5.711e6
 
constexpr double aspect::constants::earth::iasp91_radii::planet = 6.371e6
 
constexpr double aspect::constants::earth::prem_gravity::icb = 4.4002
 
constexpr double aspect::constants::earth::prem_gravity::cmb = 10.6823
 
constexpr double aspect::constants::earth::prem_gravity::ulmb = 10.0143
 
constexpr double aspect::constants::earth::prem_gravity::surface = 9.8156
 
constexpr double aspect::constants::earth::surface_gravity = 9.80665
 
constexpr double aspect::constants::mars::radii::planet = 3.3895e6
 
constexpr double aspect::constants::mars::radii::core = 1.794e6
 
constexpr double aspect::constants::mars::surface_gravity = 3.711
 

Macro Definition Documentation

§ ASPECT_INSTANTIATE

#define ASPECT_INSTANTIATE (   INSTANTIATIONS)
Value:
INSTANTIATIONS(2) \
INSTANTIATIONS(3)

A macro that is used in instantiating the ASPECT classes and functions for both 2d and 3d. Call this macro with the name of another macro that when called with a single integer argument instantiates the respective classes in the given space dimension.

Definition at line 330 of file global.h.

Function Documentation

§ print_aspect_header()

template<class Stream >
void print_aspect_header ( Stream &  stream)

Print a header into the given stream that will be written both to screen and to the log file and that provides basic information about what is running, with how many processes, and using which linear algebra library.