VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
basics

Modules

 Config
 
 Constants
 
 Container
 
 Geometry3d
 
 Memory
 
 
 Objects
 
 StringUtilities
 
 Tests
 
 Timer
 
 Utilities
 
 Writer
 

Classes

struct  real3
 

Macros

#define INVALID_INDEX   4294967295
 
#define dynamicPointerCast   std::dynamic_pointer_cast
 

Typedefs

using real = float
 
using realLim = std::numeric_limits< real >
 
using uint = unsigned int
 
template<class T >
using SPtr = std::shared_ptr< T >
 
template<class T >
using WPtr = std::weak_ptr< T >
 
template<class T >
using UPtr = std::unique_ptr< T >
 
template<class T >
using RPtr = T *
 
template<class T >
using enableSharedFromThis = std::enable_shared_from_this< T >
 

Functions

constexpr real3 operator+ (const real3 &a, const real3 &b)
 
constexpr void operator+= (real3 &a, const real3 &b)
 
constexpr real3 operator- (const real3 &a, const real3 &b)
 
constexpr real3 operator* (const real3 &a, real b)
 
constexpr real3 operator* (real a, const real3 &b)
 
constexpr real3 operator/ (const real3 &a, real b)
 
constexpr real3 operator/ (const real3 &a, const real3 &b)
 
constexpr void operator/= (real3 &a, real b)
 
constexpr real dot (const real3 &a, const real3 &b)
 
constexpr real square (const real3 &a)
 
constexpr bool operator== (const real3 &a, const real3 &b)
 

Detailed Description

Author
Soeren Peters

Macro Definition Documentation

◆ dynamicPointerCast

#define dynamicPointerCast   std::dynamic_pointer_cast

Definition at line 53 of file PointerDefinitions.h.

◆ INVALID_INDEX

#define INVALID_INDEX   4294967295

Definition at line 48 of file DataTypes.h.

Typedef Documentation

◆ enableSharedFromThis

◆ real

Definition at line 42 of file DataTypes.h.

◆ realLim

Definition at line 45 of file DataTypes.h.

◆ RPtr

template<class T >
using RPtr = T*

Definition at line 48 of file PointerDefinitions.h.

◆ SPtr

template<class T >
using SPtr = std::shared_ptr<T>

Definition at line 39 of file PointerDefinitions.h.

◆ uint

Definition at line 47 of file DataTypes.h.

◆ UPtr

template<class T >
using UPtr = std::unique_ptr<T>

Definition at line 45 of file PointerDefinitions.h.

◆ WPtr

template<class T >
using WPtr = std::weak_ptr<T>

Definition at line 42 of file PointerDefinitions.h.

Function Documentation

◆ dot()

constexpr real dot ( const real3 a,
const real3 b 
)
constexpr

Definition at line 97 of file DataTypes.h.

◆ operator*() [1/2]

constexpr real3 operator* ( const real3 a,
real  b 
)
constexpr

Definition at line 70 of file DataTypes.h.

◆ operator*() [2/2]

constexpr real3 operator* ( real  a,
const real3 b 
)
constexpr

Definition at line 75 of file DataTypes.h.

◆ operator+()

constexpr real3 operator+ ( const real3 a,
const real3 b 
)
constexpr

Definition at line 55 of file DataTypes.h.

◆ operator+=()

constexpr void operator+= ( real3 a,
const real3 b 
)
constexpr

Definition at line 60 of file DataTypes.h.

◆ operator-()

constexpr real3 operator- ( const real3 a,
const real3 b 
)
constexpr

Definition at line 65 of file DataTypes.h.

◆ operator/() [1/2]

constexpr real3 operator/ ( const real3 a,
const real3 b 
)
constexpr

Definition at line 85 of file DataTypes.h.

◆ operator/() [2/2]

constexpr real3 operator/ ( const real3 a,
real  b 
)
constexpr

Definition at line 80 of file DataTypes.h.

◆ operator/=()

constexpr void operator/= ( real3 a,
real  b 
)
constexpr

Definition at line 90 of file DataTypes.h.

◆ operator==()

constexpr bool operator== ( const real3 a,
const real3 b 
)
constexpr

Definition at line 107 of file DataTypes.h.

◆ square()

constexpr real square ( const real3 a)
constexpr

Definition at line 102 of file DataTypes.h.