wallDist: separate the meshWaveWallDist from the wallDist interface

In preparation for run-time selectable methods
This commit is contained in:
Henry
2015-01-06 17:31:02 +00:00
parent 444dbda097
commit 4fbf622008
22 changed files with 244 additions and 116 deletions

View File

@ -47,8 +47,6 @@ const Foam::volScalarField& Foam::wallDependentModel::yWall() const
{
if (!mesh_.foundObject<volScalarField>("yWall"))
{
wallDist w(mesh_);
volScalarField* yPtr
(
new volScalarField
@ -62,7 +60,7 @@ const Foam::volScalarField& Foam::wallDependentModel::yWall() const
IOobject::NO_WRITE,
true
),
w.y()
wallDist(mesh_).y()
)
);