symmetryFvPatchField.C
Go to the documentation of this file.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 #include "symmetryFvPatchField.H"
00028
00029
00030
00031 namespace Foam
00032 {
00033
00034
00035
00036 template<class Type>
00037 symmetryFvPatchField<Type>::symmetryFvPatchField
00038 (
00039 const fvPatch& p,
00040 const DimensionedField<Type, volMesh>& iF
00041 )
00042 :
00043 basicSymmetryFvPatchField<Type>(p, iF)
00044 {}
00045
00046
00047 template<class Type>
00048 symmetryFvPatchField<Type>::symmetryFvPatchField
00049 (
00050 const symmetryFvPatchField<Type>& ptf,
00051 const fvPatch& p,
00052 const DimensionedField<Type, volMesh>& iF,
00053 const fvPatchFieldMapper& mapper
00054 )
00055 :
00056 basicSymmetryFvPatchField<Type>(ptf, p, iF, mapper)
00057 {
00058 if (!isType<symmetryFvPatch>(this->patch()))
00059 {
00060 FatalErrorIn
00061 (
00062 "symmetryFvPatchField<Type>::symmetryFvPatchField\n"
00063 "(\n"
00064 " const symmetryFvPatchField<Type>& ptf,\n"
00065 " const fvPatch& p,\n"
00066 " const DimensionedField<Type, volMesh>& iF,\n"
00067 " const fvPatchFieldMapper& mapper\n"
00068 ")\n"
00069 ) << "\n patch type '" << p.type()
00070 << "' not constraint type '" << typeName << "'"
00071 << "\n for patch " << p.name()
00072 << " of field " << this->dimensionedInternalField().name()
00073 << " in file " << this->dimensionedInternalField().objectPath()
00074 << exit(FatalIOError);
00075 }
00076 }
00077
00078
00079 template<class Type>
00080 symmetryFvPatchField<Type>::symmetryFvPatchField
00081 (
00082 const fvPatch& p,
00083 const DimensionedField<Type, volMesh>& iF,
00084 const dictionary& dict
00085 )
00086 :
00087 basicSymmetryFvPatchField<Type>(p, iF, dict)
00088 {
00089 if (!isType<symmetryFvPatch>(p))
00090 {
00091 FatalIOErrorIn
00092 (
00093 "symmetryFvPatchField<Type>::symmetryFvPatchField\n"
00094 "(\n"
00095 " const fvPatch& p,\n"
00096 " const Field<Type>& field,\n"
00097 " const dictionary& dict\n"
00098 ")\n",
00099 dict
00100 ) << "\n patch type '" << p.type()
00101 << "' not constraint type '" << typeName << "'"
00102 << "\n for patch " << p.name()
00103 << " of field " << this->dimensionedInternalField().name()
00104 << " in file " << this->dimensionedInternalField().objectPath()
00105 << exit(FatalIOError);
00106 }
00107 }
00108
00109
00110 template<class Type>
00111 symmetryFvPatchField<Type>::symmetryFvPatchField
00112 (
00113 const symmetryFvPatchField<Type>& ptf
00114 )
00115 :
00116 basicSymmetryFvPatchField<Type>(ptf)
00117 {}
00118
00119
00120 template<class Type>
00121 symmetryFvPatchField<Type>::symmetryFvPatchField
00122 (
00123 const symmetryFvPatchField<Type>& ptf,
00124 const DimensionedField<Type, volMesh>& iF
00125 )
00126 :
00127 basicSymmetryFvPatchField<Type>(ptf, iF)
00128 {}
00129
00130
00131
00132
00133 }
00134
00135
Copyright © 2000-2009 OpenCFD Ltd