Gyselalib++
GeometryXVx Class Reference

A class providing aliases for useful subindex ranges of the geometry. More...

Public Types

template<class T >
using velocity_dim_for = std::conditional_t< std::is_same_v< T, GridX >, GridVx, void >
 A templated type giving the velocity discretised dimension type associated to a spatial discretised dimension type.
 
template<class T >
using spatial_dim_for = std::conditional_t< std::is_same_v< T, GridVx >, GridX, void >
 A templated type giving the spatial discretised dimension type associated to a velocity discretised dimension type.
 
using IdxRangeSpatial = IdxRangeX
 An alias for the spatial discrete index range type.
 
using IdxRangeVelocity = IdxRangeVx
 An alias for the velocity discrete index range type.
 
using IdxRangeFdistribu = IdxRangeSpXVx
 An alias for the whole distribution function discrete index range type.
 

Detailed Description

A class providing aliases for useful subindex ranges of the geometry.

It is used as template parameter for generic dimensionality-agnostic operators such as advections.

Member Typedef Documentation

◆ velocity_dim_for

template<class T >
using GeometryXVx::velocity_dim_for = std::conditional_t<std::is_same_v<T, GridX>, GridVx, void>

A templated type giving the velocity discretised dimension type associated to a spatial discretised dimension type.

◆ spatial_dim_for

template<class T >
using GeometryXVx::spatial_dim_for = std::conditional_t<std::is_same_v<T, GridVx>, GridX, void>

A templated type giving the spatial discretised dimension type associated to a velocity discretised dimension type.

◆ IdxRangeSpatial

using GeometryXVx::IdxRangeSpatial = IdxRangeX

An alias for the spatial discrete index range type.

◆ IdxRangeVelocity

using GeometryXVx::IdxRangeVelocity = IdxRangeVx

An alias for the velocity discrete index range type.

◆ IdxRangeFdistribu

using GeometryXVx::IdxRangeFdistribu = IdxRangeSpXVx

An alias for the whole distribution function discrete index range type.


The documentation for this class was generated from the following file: