Peano
Loading...
Searching...
No Matches
hydro_dimensions.h File Reference

File containing macro-riddled functions related to dimensions. More...

#include "tarch/tarch.h"
Include dependency graph for hydro_dimensions.h:
This graph shows which files directly or indirectly include this file:

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 >
InlineMethodswift2::kernels::legacy::hydroDimensions::pow_dimension (T x)
 returns x^ndim
 
template<typename T >
InlineMethodswift2::kernels::legacy::hydroDimensions::pow_inv_dimension (T x)
 Returns \(x^{1/d}\).
 
template<typename T >
InlineMethodswift2::kernels::legacy::hydroDimensions::pow_dimension_plus_one (T x)
 returns x^{ndim+1}
 
template<typename T >
InlineMethodswift2::kernels::legacy::hydroDimensions::pow_dimension_minus_one (T x)
 returns x^{ndim-1}
 

Detailed Description

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.