![]() |
Peano
|
File containing macro-riddled functions related to dimensions. More...
#include "tarch/tarch.h"
Go to the source code of this file.
Namespaces | |
namespace | swift2 |
This file is part of the SWIFT 2 project. | |
namespace | swift2::kernels |
namespace | swift2::kernels::legacy |
Legacy SPH implementation. | |
namespace | swift2::kernels::legacy::hydroDimensions |
Functions | |
template<typename T > | |
InlineMethod T | swift2::kernels::legacy::hydroDimensions::pow_dimension (T x) |
returns x^ndim | |
template<typename T > | |
InlineMethod T | swift2::kernels::legacy::hydroDimensions::pow_inv_dimension (T x) |
Returns \(x^{1/d}\). | |
template<typename T > | |
InlineMethod T | swift2::kernels::legacy::hydroDimensions::pow_dimension_plus_one (T x) |
returns x^{ndim+1} | |
template<typename T > | |
InlineMethod T | swift2::kernels::legacy::hydroDimensions::pow_dimension_minus_one (T x) |
returns x^{ndim-1} | |
File containing macro-riddled functions related to dimensions.
This is a legacy file - kept as closely to the SWIFT original files as possible.
Definition in file hydro_dimensions.h.