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  exaparty
 This file is part of the ExaParty project.
 
namespace  exaparty::kernels
 
namespace  exaparty::kernels::legacy
 Legacy SPH implementation.
 
namespace  exaparty::kernels::legacy::hydroDimensions
 

Functions

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