# PhasicFlow: src/phasicFlow/types/types.hpp Source File

types.hpp
Go to the documentation of this file.
/*------------------------------- phasicFlow ---------------------------------
O C enter of
O O E ngineering and
O O M ultiscale modeling of
OOOOOOO F luid flow
------------------------------------------------------------------------------
Copyright (C): www.cemf.ir
email: hamid.r.norouzi AT gmail.com
------------------------------------------------------------------------------
Licence:
This file is part of phasicFlow code. It is a free software for simulating
granular and multiphase flows. You can redistribute it and/or modify it under
the terms of GNU General Public License v3 or any other later versions.
phasicFlow is distributed to help others in their research in the field of
granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------------------------------------------------------------------------*/
#ifndef __types_hpp__
#define __types_hpp__
#include "bTypes.hpp"
#include "bTypesFunctions.hpp"
#include "triple.hpp"
#include "quadruple.hpp"
#include "typeInfo.hpp"
namespace pFlow
{
using int8x3 = triple<int8>;
using int16x3 = triple<int16>;
using int32x3 = triple<int32>;
using int64x3 = triple<int64>;
using uint16x3 = triple<uint16>;
using uint32x3 = triple<uint32>;
using int32x3 = triple<int32>;
using int64x3 = triple<int64>;
using labelx3 = triple<label>;
using realx3 = triple<real>;
using uint16x3x3= triple<uint16x3>;
using uint32x3x3= triple<uint32x3>;
using int32x3x3 = triple<int32x3>;
using labelx3x3 = triple<labelx3>;
using realx3x3 = triple<realx3>;
using real4 = quadruple<real>;
template<>
inline word basicTypeName<int8x3>(){ return "int8x3"; }
template<>
inline word basicTypeName<int16x3>(){ return "int16x3"; }
template<>
inline word basicTypeName<int32x3>(){ return "int32x3"; }
template<>
inline word basicTypeName<int64x3>(){ return "int64x3"; }
template<>
inline word basicTypeName<uint16x3>(){ return "uint16x3"; }
template<>
inline word basicTypeName<uint32x3>(){ return "uint32x3"; }
template<>
inline word basicTypeName<labelx3>(){ return "labelx3"; }
template<>
inline word basicTypeName<realx3>(){ return "realx3"; }
template<>
inline word basicTypeName<uint16x3x3>(){ return "uint16x3x3"; }
template<>
inline word basicTypeName<uint32x3x3>(){ return "uint32x3x3"; }
template<>
inline word basicTypeName<realx3x3>(){ return "realx3x3"; }
template<>
inline word basicTypeName<real4>(){ return "real4"; }
extern const realx3 zero3;
extern const realx3 one3;
extern const uint32x3 zeroU3;
extern const uint32x3 oneU3;
extern const realx3x3 zero33;
extern const realx3x3 one33;
extern const uint32x3x3 zeroU33;
extern const uint32x3x3 oneU33;
} // pFlow
#endif //__types_hpp__
pFlow::zeroU33
const uint32x3x3 zeroU33(zeroU3)
Definition: types.hpp:104
pFlow::zero33
const realx3x3 zero33(zero3)
Definition: types.hpp:102
pFlow::basicTypeName< realx3 >
word basicTypeName< realx3 >()
Definition: types.hpp:81
pFlow::basicTypeName< uint16x3x3 >
word basicTypeName< uint16x3x3 >()
Definition: types.hpp:84
pFlow::basicTypeName< real4 >
word basicTypeName< real4 >()
Definition: types.hpp:94
pFlow::oneU3
const uint32x3 oneU3(1)
Definition: types.hpp:100
pFlow::basicTypeName< int32x3 >
word basicTypeName< int32x3 >()
Definition: types.hpp:66
pFlow::basicTypeName< int64x3 >
word basicTypeName< int64x3 >()
Definition: types.hpp:69
pFlow::word
std::string word
Definition: builtinTypes.hpp:63
pFlow::zeroU3
const uint32x3 zeroU3(0)
Definition: types.hpp:99
pFlow::zero3
const realx3 zero3(0.0)
Definition: types.hpp:97
pFlow::one3
const realx3 one3(1.0)
Definition: types.hpp:98
quadruple.hpp
pFlow::basicTypeName< uint16x3 >
word basicTypeName< uint16x3 >()
Definition: types.hpp:72
bTypes.hpp
pFlow
Definition: demComponent.hpp:28
pFlow::one33
const realx3x3 one33(one3)
Definition: types.hpp:103
pFlow::basicTypeName< uint32x3 >
word basicTypeName< uint32x3 >()
Definition: types.hpp:75
triple.hpp
pFlow::oneU33
const uint32x3x3 oneU33(oneU3)
Definition: types.hpp:105
pFlow::basicTypeName< int8x3 >
word basicTypeName< int8x3 >()
Definition: types.hpp:60
typeInfo.hpp
pFlow::quadruple
Definition: quadruple.hpp:37
bTypesFunctions.hpp
pFlow::triple
Definition: triple.hpp:37
pFlow::basicTypeName< int16x3 >
word basicTypeName< int16x3 >()
Definition: types.hpp:63
pFlow::basicTypeName< realx3x3 >
word basicTypeName< realx3x3 >()
Definition: types.hpp:90
pFlow::basicTypeName< uint32x3x3 >
word basicTypeName< uint32x3x3 >()
Definition: types.hpp:87
pFlow::basicTypeName< labelx3 >
word basicTypeName< labelx3 >()
Definition: types.hpp:78