14 lines
197 B
C
14 lines
197 B
C
|
vector velocity;
|
||
|
|
||
|
vector momentumSum = vector::zero;
|
||
|
|
||
|
if (velocityDistribution == "uniform")
|
||
|
{
|
||
|
# include "uniform.H"
|
||
|
}
|
||
|
|
||
|
if (velocityDistribution == "maxwellian")
|
||
|
{
|
||
|
# include "maxwellian.H"
|
||
|
}
|