From e85f3a38e57a85f55c2e84dea546370c54eb49fa Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 3 Sep 2012 12:52:34 +0100 Subject: [PATCH] Changed direction to higher size. David Gaden --- src/OpenFOAM/primitives/direction/direction.H | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/OpenFOAM/primitives/direction/direction.H b/src/OpenFOAM/primitives/direction/direction.H index 4f67d98e8..6c255b07b 100644 --- a/src/OpenFOAM/primitives/direction/direction.H +++ b/src/OpenFOAM/primitives/direction/direction.H @@ -27,21 +27,24 @@ Primitive Description Direction is an integer type used to represent the Cartesian directions - etc. Currently it is a typedef to char which is limited to the range - (0, 255) which should be adequate. + etc. Due to the extension of block matrix with lots of components + this is upgraded to unsigned int. Request by David Gaden, 25/Nov/2012 + HJ, 31/May/2012 \*---------------------------------------------------------------------------*/ #ifndef direction_H #define direction_H -#include "char.H" +#include "int.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // namespace Foam { - typedef unsigned char direction; +// typedef unsigned char direction; + // HJ, 31/May/2012 + typedef unsigned int direction; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //