Formatting
This commit is contained in:
parent
2cfd330426
commit
d75b30bc08
1 changed files with 9 additions and 1 deletions
|
@ -53,12 +53,12 @@ class Random
|
||||||
{
|
{
|
||||||
// Private data
|
// Private data
|
||||||
|
|
||||||
|
//- Seed for random numbers
|
||||||
label Seed;
|
label Seed;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct given seed
|
//- Construct given seed
|
||||||
|
@ -67,22 +67,30 @@ public:
|
||||||
|
|
||||||
// Member functions
|
// Member functions
|
||||||
|
|
||||||
|
//- Return random bit
|
||||||
int bit();
|
int bit();
|
||||||
|
|
||||||
//- scalar [0..1] (so including 0,1)
|
//- scalar [0..1] (so including 0,1)
|
||||||
scalar scalar01();
|
scalar scalar01();
|
||||||
|
|
||||||
//- vector with every component scalar01
|
//- vector with every component scalar01
|
||||||
vector vector01();
|
vector vector01();
|
||||||
|
|
||||||
//- sphericalTensor with every component scalar01
|
//- sphericalTensor with every component scalar01
|
||||||
sphericalTensor sphericalTensor01();
|
sphericalTensor sphericalTensor01();
|
||||||
|
|
||||||
//- symmTensor with every component scalar01
|
//- symmTensor with every component scalar01
|
||||||
symmTensor symmTensor01();
|
symmTensor symmTensor01();
|
||||||
|
|
||||||
//- symmTensor4thOrder with every component scalar01
|
//- symmTensor4thOrder with every component scalar01
|
||||||
symmTensor4thOrder symmTensor4thOrder01();
|
symmTensor4thOrder symmTensor4thOrder01();
|
||||||
|
|
||||||
//- diagTensor with every component scalar01
|
//- diagTensor with every component scalar01
|
||||||
diagTensor diagTensor01();
|
diagTensor diagTensor01();
|
||||||
|
|
||||||
//- tensor with every component scalar01
|
//- tensor with every component scalar01
|
||||||
tensor tensor01();
|
tensor tensor01();
|
||||||
|
|
||||||
//- label [lower..upper]
|
//- label [lower..upper]
|
||||||
label integer(const label lower, const label upper);
|
label integer(const label lower, const label upper);
|
||||||
|
|
||||||
|
|
Reference in a new issue