BUG: Changing zGround readind

This commit is contained in:
Sergio Ferraris
2011-11-24 17:48:43 +00:00
parent 8959d308a0
commit 71f45e1259
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ atmBoundaryLayerInletVelocityFvPatchVectorField
kappa_(dict.lookupOrDefault<scalar>("kappa", 0.41)),
Uref_(readScalar(dict.lookup("Uref"))),
Href_(readScalar(dict.lookup("Href"))),
zGround_(readScalar(dict.lookup("zGround")))
zGround_("zGround", dict, p.size())
{
if (mag(n_) < SMALL || mag(z_) < SMALL || mag(z0_) < SMALL)
{

View File

@ -113,7 +113,7 @@ class atmBoundaryLayerInletVelocityFvPatchVectorField
const scalar Href_;
//- Minimum corrdinate value in z direction
const scalarField zGround_;
scalarField zGround_;
public: