diff --git a/src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.H index c34005a6d551f7244c90f411ced859d28fa42b2f..1afb39929c00adc75160f6ecd11902066a5d2f03 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.H @@ -138,7 +138,7 @@ public: // Member functions - // Access + // Attributes //- Return true if this patch field fixes a value. // Needed to check if a level has to be specified while solving diff --git a/src/finiteVolume/fields/fvPatchFields/basic/directionMixed/directionMixedFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/basic/directionMixed/directionMixedFvPatchField.H index f7314852dc0548797cda920747b65ced2533bb27..86fbb9702c3470fb887e3556be95f8accc1e2b52 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/directionMixed/directionMixedFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/basic/directionMixed/directionMixedFvPatchField.H @@ -130,9 +130,9 @@ public: // Member functions - // Access + // Attributes - //- Return true if this patch field fixes a value. + //- Return true: this patch field fixes a value. // Needed to check if a level has to be specified while solving // Poissons equations. virtual bool fixesValue() const @@ -140,6 +140,12 @@ public: return true; } + //- Return false: this patch field is not altered by assignment + virtual bool assignable() const + { + return false; + } + // Mapping functions diff --git a/src/finiteVolume/fields/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.H index be4e368ca4d07d2622d1e3e0ab325a01c1c69c00..50469878511f4b0c8393bf2019e72b3923694574 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.H @@ -150,7 +150,7 @@ public: // Member functions - // Access + // Attributes //- Return true if this patch field fixes a value. // Needed to check if a level has to be specified while solving @@ -160,6 +160,12 @@ public: return true; } + //- Return false: this patch field is not altered by assignment + virtual bool assignable() const + { + return false; + } + // Evaluation functions diff --git a/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.H index 3ef0d50d794559869c79de114a738c3c257ef739..dc6d9cbb88385c348baa9099d6f059b4d58c350b 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/basic/mixed/mixedFvPatchField.H @@ -179,6 +179,12 @@ public: return true; } + //- Return false: this patch field is not altered by assignment + virtual bool assignable() const + { + return false; + } + // Return defining fields diff --git a/src/finiteVolume/fields/fvPatchFields/basic/sliced/slicedFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/basic/sliced/slicedFvPatchField.H index 49e9a1d7a64f35e6761992ea330c64973019ac40..aeef595cb0a17c677cab268d83280145bb02fef4 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/sliced/slicedFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/basic/sliced/slicedFvPatchField.H @@ -131,7 +131,7 @@ public: // Member functions - // Access + // Attributes //- Return true if this patch field fixes a value. // Needed to check if a level has to be specified while solving @@ -141,6 +141,12 @@ public: return true; } + //- Return false: this patch field is not altered by assignment + virtual bool assignable() const + { + return false; + } + // Evaluation functions diff --git a/src/finiteVolume/fields/fvPatchFields/basic/transform/transformFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/basic/transform/transformFvPatchField.H index ae10a70cbdfd2ade234f67aa8319d7dc41b708ed..1b677ceeffbb3fa9d29d4724074852e9f267b4e6 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/transform/transformFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/basic/transform/transformFvPatchField.H @@ -113,6 +113,16 @@ public: // Member functions + // Attributes + + //- Return true if the value of the patch field + // is altered by assignment + virtual bool assignable() const + { + return true; + } + + // Evaluation functions //- Return gradient at boundary diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fixedNormalInletOutletVelocity/fixedNormalInletOutletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/fixedNormalInletOutletVelocity/fixedNormalInletOutletVelocityFvPatchVectorField.H index a578e09948b7859f905b378e37f79d320dbdf2aa..41a8f41bc72db84069b50e1fd23599fda859c26c 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/fixedNormalInletOutletVelocity/fixedNormalInletOutletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/fixedNormalInletOutletVelocity/fixedNormalInletOutletVelocityFvPatchVectorField.H @@ -186,6 +186,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + // Access //- Return the name of phi diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.H index e4310a91b97a40aa2b7943363cb2d9186f20db88..e5c5d6b2101f83524c4708110f1286dcd43a3562 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.H @@ -149,6 +149,15 @@ public: // Member functions + // Access + + //- Return false: this patch field is not altered by assignment + virtual bool assignable() const + { + return false; + } + + // Mapping functions //- Map (and resize as needed) from self given a mapping object diff --git a/src/finiteVolume/fields/fvPatchFields/derived/inletOutlet/inletOutletFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/inletOutlet/inletOutletFvPatchField.H index 0e1f1187cca85f5da934ab10d725bd94578c0264..95bea2eb68fc9ee4920df1d84ec48ae4d7d80787 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/inletOutlet/inletOutletFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/inletOutlet/inletOutletFvPatchField.H @@ -165,6 +165,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + //- Update the coefficients associated with the patch field virtual void updateCoeffs(); diff --git a/src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.H index 5d1b4c78a1c5e521d05865f88ca9ed95e0a6e524..0adb57f948272e8d487dda9ff7cfd46ab3031d28 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/partialSlip/partialSlipFvPatchField.H @@ -150,6 +150,15 @@ public: // Member functions + // Attributes + + //- Return false: this patch field is not altered by assignment + virtual bool assignable() const + { + return false; + } + + // Mapping functions //- Map (and resize as needed) from self given a mapping object diff --git a/src/finiteVolume/fields/fvPatchFields/derived/phaseHydrostaticPressure/phaseHydrostaticPressureFvPatchScalarField.H b/src/finiteVolume/fields/fvPatchFields/derived/phaseHydrostaticPressure/phaseHydrostaticPressureFvPatchScalarField.H index cb0c472da410539e7f7ed09348810a23de8c50dc..41b5db3a7f6b6c651f93ed374d3ad252cba90125 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/phaseHydrostaticPressure/phaseHydrostaticPressureFvPatchScalarField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/phaseHydrostaticPressure/phaseHydrostaticPressureFvPatchScalarField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -185,6 +185,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + // Access //- Return the phaseName diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H index b6e24c73c7ba1bf0c607a493878a0c443ea370b4..83fde6d2c665900a7e05408b2c8aa8c43b68e22b 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -177,6 +177,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + // Access //- Return the name of rho diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.H index b70077987660c34ac4bd45e834c434d7720eb0cc..697f3bce166e19eb417a0d3f30ddcd442919f621 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -173,6 +173,14 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + // Access //- Return the name of rho diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletOutletParSlipVelocity/pressureInletOutletParSlipVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletOutletParSlipVelocity/pressureInletOutletParSlipVelocityFvPatchVectorField.H index f73730907d3fed98de48120ba103450562ced54b..52f19ab0792438d28de4c1cd99221a533930dd26 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletOutletParSlipVelocity/pressureInletOutletParSlipVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletOutletParSlipVelocity/pressureInletOutletParSlipVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -173,6 +173,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + // Access //- Return the name of rho diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletOutletVelocity/pressureInletOutletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletOutletVelocity/pressureInletOutletVelocityFvPatchVectorField.H index 1a6def9be359ac102d646548384353078f526581..6d44757d7093990558bfcddd78cfddafc8ca74db 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletOutletVelocity/pressureInletOutletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletOutletVelocity/pressureInletOutletVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -163,6 +163,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + // Access //- Return the name of phi diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.H index d22757c6725536bee2b23699cda87c3418f7fbfa..4a2a1fbda479ab7b6e2710d9da02b6b75a8827a8 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -138,6 +138,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + //- Update the coefficients associated with the patch field virtual void updateCoeffs(); diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletVelocity/pressureInletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletVelocity/pressureInletVelocityFvPatchVectorField.H index 12b7d8bec538d6baac09b14317e9d7c9f508bc80..94d3caf943266b07dd9aa5a159cd271f0ebd9e50 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletVelocity/pressureInletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletVelocity/pressureInletVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -156,6 +156,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + // Access //- Return the name of rho diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureNormalInletOutletVelocity/pressureNormalInletOutletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/pressureNormalInletOutletVelocity/pressureNormalInletOutletVelocityFvPatchVectorField.H index c138b18f6959352e53be8b471aef6294a09317a2..d5eefefb80628b61113fb95b3e2de6057fa88c29 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureNormalInletOutletVelocity/pressureNormalInletOutletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureNormalInletOutletVelocity/pressureNormalInletOutletVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -172,6 +172,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + // Access //- Return the name of rho diff --git a/src/finiteVolume/fields/fvPatchFields/derived/slip/slipFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/slip/slipFvPatchField.H index 550f4cfba0a89b485cb83f832e0124bf5c938d90..555ab0494c8cf486fc96975027721bd20adcb488 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/slip/slipFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/slip/slipFvPatchField.H @@ -130,6 +130,40 @@ public: new slipFvPatchField<Type>(*this, iF) ); } + + + // Member functions + + // Attributes + + //- Return false: this patch field is not altered by assignment + virtual bool assignable() const + { + return false; + } + + + // Member operators + + // virtual void operator=(const UList<Type>&) {} + + // virtual void operator=(const fvPatchField<Type>&) {} + // virtual void operator+=(const fvPatchField<Type>&) {} + // virtual void operator-=(const fvPatchField<Type>&) {} + // virtual void operator*=(const fvPatchField<scalar>&) {} + // virtual void operator/=(const fvPatchField<scalar>&) {} + + // virtual void operator+=(const Field<Type>&) {} + // virtual void operator-=(const Field<Type>&) {} + + // virtual void operator*=(const Field<scalar>&) {} + // virtual void operator/=(const Field<scalar>&) {} + + // virtual void operator=(const Type&) {} + // virtual void operator+=(const Type&) {} + // virtual void operator-=(const Type&) {} + // virtual void operator*=(const scalar) {} + // virtual void operator/=(const scalar) {} }; diff --git a/src/finiteVolume/fields/fvPatchFields/derived/uniformInletOutlet/uniformInletOutletFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/uniformInletOutlet/uniformInletOutletFvPatchField.H index a94092eeed01e4b4ef07a4bd9a96aed6547384d7..c652b917a1451e0be62fe327789d09aefc5bcc4a 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/uniformInletOutlet/uniformInletOutletFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/uniformInletOutlet/uniformInletOutletFvPatchField.H @@ -166,23 +166,32 @@ public: } - // Mapping functions + // Member functions - //- Map (and resize as needed) from self given a mapping object - virtual void autoMap - ( - const fvPatchFieldMapper& - ); + // Attributes - //- Reverse map the given fvPatchField onto this fvPatchField - virtual void rmap - ( - const fvPatchField<Type>&, - const labelList& - ); + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } - // Member functions + // Mapping functions + + //- Map (and resize as needed) from self given a mapping object + virtual void autoMap + ( + const fvPatchFieldMapper& + ); + + //- Reverse map the given fvPatchField onto this fvPatchField + virtual void rmap + ( + const fvPatchField<Type>&, + const labelList& + ); + //- Update the coefficients associated with the patch field virtual void updateCoeffs(); diff --git a/src/finiteVolume/fields/fvPatchFields/fvPatchField/fvPatchField.H b/src/finiteVolume/fields/fvPatchFields/fvPatchField/fvPatchField.H index 496524c76392588128b68f5b4046cd0e0ad2da5b..ffed3dd1fd6365a4519606ab682dbb1fd72aaf10 100644 --- a/src/finiteVolume/fields/fvPatchFields/fvPatchField/fvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/fvPatchField/fvPatchField.H @@ -300,6 +300,33 @@ public: // Member functions + // Attributes + + //- Return the type of the calculated for of fvPatchField + static const word& calculatedType(); + + //- Return true if this patch field fixes a value. + // Needed to check if a level has to be specified while solving + // Poissons equations. + virtual bool fixesValue() const + { + return false; + } + + //- Return true if the value of the patch field + // is altered by assignment (the default) + virtual bool assignable() const + { + return true; + } + + //- Return true if this patch field is coupled + virtual bool coupled() const + { + return false; + } + + // Access //- Return local objectRegistry @@ -336,23 +363,6 @@ public: return patchType_; } - //- Return the type of the calculated for of fvPatchField - static const word& calculatedType(); - - //- Return true if this patch field fixes a value. - // Needed to check if a level has to be specified while solving - // Poissons equations. - virtual bool fixesValue() const - { - return false; - } - - //- Return true if this patch field is coupled - virtual bool coupled() const - { - return false; - } - //- Return true if the boundary condition has already been updated bool updated() const { diff --git a/src/regionModels/surfaceFilmModels/derivedFvPatchFields/filmHeightInletVelocity/filmHeightInletVelocityFvPatchVectorField.H b/src/regionModels/surfaceFilmModels/derivedFvPatchFields/filmHeightInletVelocity/filmHeightInletVelocityFvPatchVectorField.H index 98b8f49808815c96fd206d5ec47d55ec6653b2cb..a2e931907d09c46f266db27419890fd29bab415b 100644 --- a/src/regionModels/surfaceFilmModels/derivedFvPatchFields/filmHeightInletVelocity/filmHeightInletVelocityFvPatchVectorField.H +++ b/src/regionModels/surfaceFilmModels/derivedFvPatchFields/filmHeightInletVelocity/filmHeightInletVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -177,6 +177,15 @@ public: // Member functions + // Attributes + + //- Return true: this patch field is altered by assignment + virtual bool assignable() const + { + return true; + } + + // Access //- Return the name of phi