Skip to content
Snippets Groups Projects
Commit 90110706 authored by henry's avatar henry
Browse files

Added support for SP compilation.

parent 5ef09ce5
Branches
Tags
No related merge requests found
...@@ -61,7 +61,7 @@ void Foam::fanFvPatchField<Foam::scalar>::updateCoeffs() ...@@ -61,7 +61,7 @@ void Foam::fanFvPatchField<Foam::scalar>::updateCoeffs()
( (
scalarField::subField(phip, size()/2) scalarField::subField(phip, size()/2)
/scalarField::subField(patch().magSf(), size()/2), /scalarField::subField(patch().magSf(), size()/2),
0.0 scalar(0)
); );
if (phi.dimensions() == dimDensity*dimVelocity*dimArea) if (phi.dimensions() == dimDensity*dimVelocity*dimArea)
...@@ -79,7 +79,7 @@ void Foam::fanFvPatchField<Foam::scalar>::updateCoeffs() ...@@ -79,7 +79,7 @@ void Foam::fanFvPatchField<Foam::scalar>::updateCoeffs()
jump_ += f_[i]*pow(Un, i); jump_ += f_[i]*pow(Un, i);
} }
jump_ = max(jump_, 0.0); jump_ = max(jump_, scalar(0));
} }
jumpCyclicFvPatchField<scalar>::updateCoeffs(); jumpCyclicFvPatchField<scalar>::updateCoeffs();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment