00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #ifndef gaussLaplacianScheme_H
00037 #define gaussLaplacianScheme_H
00038
00039 #include "laplacianScheme.H"
00040
00041
00042
00043 namespace Foam
00044 {
00045
00046
00047
00048 namespace fv
00049 {
00050
00051
00052
00053
00054
00055 template<class Type>
00056 class gaussLaplacianScheme
00057 :
00058 public fv::laplacianScheme<Type>
00059 {
00060
00061
00062 tmp<fvMatrix<Type> > fvmLaplacianUncorrected
00063 (
00064 const surfaceScalarField& gammaMagSf,
00065 GeometricField<Type, fvPatchField, volMesh>&
00066 );
00067
00068 tmp<GeometricField<Type, fvPatchField, surfaceMesh> > gammaSnGradCorr
00069 (
00070 const surfaceVectorField& SfGammaCorr,
00071 const GeometricField<Type, fvPatchField, volMesh>&
00072 );
00073
00074
00075 gaussLaplacianScheme(const gaussLaplacianScheme&);
00076
00077
00078 void operator=(const gaussLaplacianScheme&);
00079
00080
00081 public:
00082
00083
00084 TypeName("Gauss");
00085
00086
00087
00088
00089
00090 gaussLaplacianScheme(const fvMesh& mesh)
00091 :
00092 laplacianScheme<Type>(mesh)
00093 {}
00094
00095
00096 gaussLaplacianScheme(const fvMesh& mesh, Istream& is)
00097 :
00098 laplacianScheme<Type>(mesh, is)
00099 {}
00100
00101
00102
00103
00104 tmp<fvMatrix<Type> > fvmLaplacian
00105 (
00106 const surfaceScalarField&,
00107 GeometricField<Type, fvPatchField, volMesh>&
00108 );
00109
00110 tmp<fvMatrix<Type> > fvmLaplacian
00111 (
00112 const surfaceTensorField&,
00113 GeometricField<Type, fvPatchField, volMesh>&
00114 );
00115
00116 tmp<GeometricField<Type, fvPatchField, volMesh> > fvcLaplacian
00117 (
00118 const GeometricField<Type, fvPatchField, volMesh>&
00119 );
00120
00121 tmp<GeometricField<Type, fvPatchField, volMesh> > fvcLaplacian
00122 (
00123 const surfaceScalarField&,
00124 const GeometricField<Type, fvPatchField, volMesh>&
00125 );
00126
00127 tmp<GeometricField<Type, fvPatchField, volMesh> > fvcLaplacian
00128 (
00129 const surfaceTensorField&,
00130 const GeometricField<Type, fvPatchField, volMesh>&
00131 );
00132 };
00133
00134
00135
00136
00137 }
00138
00139
00140
00141 }
00142
00143
00144
00145 #ifdef NoRepository
00146 # include "gaussLaplacianScheme.C"
00147 #endif
00148
00149
00150
00151 #endif
00152
00153