53 "surfaceInterpolationScheme<Type>::New(const fvMesh&, Istream&)",
55 ) <<
"Discretisation scheme not specified"
57 <<
"Valid schemes are :" <<
endl
58 << MeshConstructorTablePtr_->sortedToc()
62 word schemeName(schemeData);
66 Info<<
"surfaceInterpolationScheme<Type>::New"
67 "(const fvMesh&, Istream&)"
68 " : discretisation scheme = "
73 typename MeshConstructorTable::iterator constructorIter =
74 MeshConstructorTablePtr_->find(schemeName);
76 if (constructorIter == MeshConstructorTablePtr_->end())
80 "surfaceInterpolationScheme<Type>::New(const fvMesh&, Istream&)",
82 ) <<
"Unknown discretisation scheme " << schemeName
84 <<
"Valid schemes are :" <<
endl
85 << MeshConstructorTablePtr_->sortedToc()
89 return constructorIter()(
mesh, schemeData);
102 if (schemeData.
eof())
106 "surfaceInterpolationScheme<Type>::New"
107 "(const fvMesh&, const surfaceScalarField&, Istream&)",
109 ) <<
"Discretisation scheme not specified"
111 <<
"Valid schemes are :" <<
endl
112 << MeshConstructorTablePtr_->sortedToc()
116 word schemeName(schemeData);
120 Info<<
"surfaceInterpolationScheme<Type>::New"
121 "(const fvMesh&, const surfaceScalarField&, Istream&)"
122 " : discretisation scheme = "
127 typename MeshFluxConstructorTable::iterator constructorIter =
128 MeshFluxConstructorTablePtr_->find(schemeName);
130 if (constructorIter == MeshFluxConstructorTablePtr_->end())
134 "surfaceInterpolationScheme<Type>::New"
135 "(const fvMesh&, const surfaceScalarField&, Istream&)",
137 ) <<
"Unknown discretisation scheme " << schemeName
139 <<
"Valid schemes are :" <<
endl
140 << MeshFluxConstructorTablePtr_->sortedToc()
144 return constructorIter()(
mesh, faceFlux, schemeData);
170 Info<<
"surfaceInterpolationScheme<Type>::uncorrectedInterpolate"
171 "(const GeometricField<Type, fvPatchField, volMesh>&, "
172 "const tmp<surfaceScalarField>&, "
173 "const tmp<surfaceScalarField>&) : "
174 "interpolating volTypeField from cells to faces "
175 "without explicit correction"
196 "interpolate("+vf.
name()+
')',
208 for (
register label fi=0; fi<P.
size(); fi++)
210 sfi[fi] = lambda[fi]*vfi[P[fi]] + y[fi]*vfi[N[fi]];
252 Info<<
"surfaceInterpolationScheme<Type>::interpolate"
253 "(const GeometricField<Type, fvPatchField, volMesh>&, "
254 "const tmp<surfaceScalarField>&) : "
255 "interpolating volTypeField from cells to faces "
256 "without explicit correction"
275 "interpolate("+vf.
name()+
')',
287 for (
register label fi=0; fi<P.
size(); fi++)
289 sfi[fi] = lambda[fi]*(vfi[P[fi]] - vfi[N[fi]]) + vfi[N[fi]];
300 tsf().boundaryField()[
pi] =
327 Info<<
"surfaceInterpolationScheme<Type>::interpolate"
328 "(const GeometricField<Type, fvPatchField, volMesh>&) : "
329 <<
"interpolating volTypeField from cells to faces"