mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
- clearer, more consistent parameter naming, which helps when maintaining different field function types (eg, DimensionedFields, GeometricFields) - provide reuseTmpGeometricField::New taking a reference (not a tmp), with forwarding. This helps centralise naming and acquisition etc - split binary function macros into transform/interface for easier support of different transform loops. - initial field macros for looping over ternaries
68 lines
2.3 KiB
C
68 lines
2.3 KiB
C
/*---------------------------------------------------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration |
|
|
\\ / A nd | www.openfoam.com
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Copyright (C) 2011 OpenFOAM Foundation
|
|
Copyright (C) 2023 OpenCFD Ltd.
|
|
-------------------------------------------------------------------------------
|
|
License
|
|
This file is part of OpenFOAM.
|
|
|
|
OpenFOAM is free software: you can redistribute it and/or modify it
|
|
under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
#undef UNARY_FUNCTION
|
|
#undef UNARY_FUNCTION_TRANSFORM
|
|
#undef UNARY_FUNCTION_INTERFACE
|
|
|
|
#undef UNARY_OPERATOR
|
|
#undef UNARY_OPERATOR_TRANSFORM
|
|
#undef UNARY_OPERATOR_INTERFACE
|
|
|
|
#undef BINARY_FUNCTION
|
|
#undef BINARY_FUNCTION_TRANSFORM
|
|
#undef BINARY_FUNCTION_INTERFACE
|
|
|
|
#undef BINARY_TYPE_FUNCTION
|
|
#undef BINARY_TYPE_FUNCTION_SF
|
|
#undef BINARY_TYPE_FUNCTION_FS
|
|
#undef BINARY_FUNCTION_TRANSFORM_SF
|
|
#undef BINARY_FUNCTION_INTERFACE_SF
|
|
#undef BINARY_FUNCTION_TRANSFORM_FS
|
|
#undef BINARY_FUNCTION_INTERFACE_FS
|
|
|
|
#undef BINARY_OPERATOR
|
|
#undef BINARY_TYPE_OPERATOR
|
|
#undef BINARY_TYPE_OPERATOR_SF
|
|
#undef BINARY_TYPE_OPERATOR_FS
|
|
|
|
#undef TERNARY_FUNCTION
|
|
#undef TERNARY_FUNCTION_TRANSFORM
|
|
#undef TERNARY_FUNCTION_INTERFACE
|
|
#undef TERNARY_TYPE_FUNCTION
|
|
#undef TERNARY_TYPE_FUNCTION_FFS
|
|
#undef TERNARY_TYPE_FUNCTION_FSF
|
|
#undef TERNARY_TYPE_FUNCTION_SFF
|
|
#undef TERNARY_TYPE_FUNCTION_SSF
|
|
#undef TERNARY_TYPE_FUNCTION_SFS
|
|
#undef TERNARY_TYPE_FUNCTION_FSS
|
|
|
|
#undef TEMPLATE
|
|
|
|
// ************************************************************************* //
|