Skip to content
Snippets Groups Projects
Commit bdfabee3 authored by Henry's avatar Henry
Browse files

fvcDdt: added ddt functions with "one" arguments

parent 0cadad5c
No related merge requests found
......@@ -102,6 +102,30 @@ ddt
}
template<class Type>
tmp<GeometricField<Type, fvPatchField, volMesh> >
ddt
(
const one&,
const GeometricField<Type, fvPatchField, volMesh>& vf
)
{
return ddt(vf);
}
template<class Type>
tmp<GeometricField<Type, fvPatchField, volMesh> >
ddt
(
const GeometricField<Type, fvPatchField, volMesh>& vf,
const one&
)
{
return ddt(vf);
}
template<class Type>
tmp<GeometricField<typename flux<Type>::type, fvsPatchField, surfaceMesh> >
ddtPhiCorr
......
......@@ -39,6 +39,7 @@ SourceFiles
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
#include "dimensionedTypes.H"
#include "geometricZeroField.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -78,6 +79,29 @@ namespace fvc
const GeometricField<Type, fvPatchField, volMesh>&
);
template<class Type>
tmp<GeometricField<Type, fvPatchField, volMesh> > ddt
(
const one&,
const GeometricField<Type, fvPatchField, volMesh>&
);
template<class Type>
tmp<GeometricField<Type, fvPatchField, volMesh> > ddt
(
const GeometricField<Type, fvPatchField, volMesh>&,
const one&
);
inline geometricZeroField ddt
(
const one&,
const one&
)
{
return geometricZeroField();
}
template<class Type>
tmp
<
......
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