mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Consistently indent continuation backslashes in macro definitions
This commit is contained in:
@ -1162,38 +1162,38 @@ void Foam::GeometricField<Type, PatchField, GeoMesh>::operator==
|
||||
}
|
||||
|
||||
|
||||
#define COMPUTED_ASSIGNMENT(TYPE, op) \
|
||||
\
|
||||
template<class Type, template<class> class PatchField, class GeoMesh> \
|
||||
void Foam::GeometricField<Type, PatchField, GeoMesh>::operator op \
|
||||
( \
|
||||
const GeometricField<TYPE, PatchField, GeoMesh>& gf \
|
||||
) \
|
||||
{ \
|
||||
checkField(*this, gf, #op); \
|
||||
\
|
||||
dimensionedInternalField() op gf.dimensionedInternalField(); \
|
||||
boundaryField() op gf.boundaryField(); \
|
||||
} \
|
||||
\
|
||||
template<class Type, template<class> class PatchField, class GeoMesh> \
|
||||
void Foam::GeometricField<Type, PatchField, GeoMesh>::operator op \
|
||||
( \
|
||||
const tmp<GeometricField<TYPE, PatchField, GeoMesh>>& tgf \
|
||||
) \
|
||||
{ \
|
||||
operator op(tgf()); \
|
||||
tgf.clear(); \
|
||||
} \
|
||||
\
|
||||
template<class Type, template<class> class PatchField, class GeoMesh> \
|
||||
void Foam::GeometricField<Type, PatchField, GeoMesh>::operator op \
|
||||
( \
|
||||
const dimensioned<TYPE>& dt \
|
||||
) \
|
||||
{ \
|
||||
dimensionedInternalField() op dt; \
|
||||
boundaryField() op dt.value(); \
|
||||
#define COMPUTED_ASSIGNMENT(TYPE, op) \
|
||||
\
|
||||
template<class Type, template<class> class PatchField, class GeoMesh> \
|
||||
void Foam::GeometricField<Type, PatchField, GeoMesh>::operator op \
|
||||
( \
|
||||
const GeometricField<TYPE, PatchField, GeoMesh>& gf \
|
||||
) \
|
||||
{ \
|
||||
checkField(*this, gf, #op); \
|
||||
\
|
||||
dimensionedInternalField() op gf.dimensionedInternalField(); \
|
||||
boundaryField() op gf.boundaryField(); \
|
||||
} \
|
||||
\
|
||||
template<class Type, template<class> class PatchField, class GeoMesh> \
|
||||
void Foam::GeometricField<Type, PatchField, GeoMesh>::operator op \
|
||||
( \
|
||||
const tmp<GeometricField<TYPE, PatchField, GeoMesh>>& tgf \
|
||||
) \
|
||||
{ \
|
||||
operator op(tgf()); \
|
||||
tgf.clear(); \
|
||||
} \
|
||||
\
|
||||
template<class Type, template<class> class PatchField, class GeoMesh> \
|
||||
void Foam::GeometricField<Type, PatchField, GeoMesh>::operator op \
|
||||
( \
|
||||
const dimensioned<TYPE>& dt \
|
||||
) \
|
||||
{ \
|
||||
dimensionedInternalField() op dt; \
|
||||
boundaryField() op dt.value(); \
|
||||
}
|
||||
|
||||
COMPUTED_ASSIGNMENT(Type, +=)
|
||||
|
||||
Reference in New Issue
Block a user