ENH: more consistent convenience macros for creating patchFields

This commit is contained in:
Mark Olesen
2023-01-02 09:33:00 +01:00
parent fe4688c27f
commit 0767e21d8c
52 changed files with 917 additions and 643 deletions

View File

@ -35,15 +35,18 @@ Description
#include "vector2D.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
typedef GeometricField<vector2D, fvPatchField, volMesh> volVector2DField;
typedef fvPatchField<vector2D> fvPatchVector2DField;
defineTemplateTypeNameAndDebug(volVector2DField::Internal, 0);
defineTemplateTypeNameAndDebug(volVector2DField, 0);
typedef fvPatchField<vector2D> fvPatchVector2DField;
makeFvPatchField(fvPatchVector2DField)
defineTemplateRunTimeSelectionTable(fvPatchVector2DField, patch);
defineTemplateRunTimeSelectionTable(fvPatchVector2DField, patchMapper);
defineTemplateRunTimeSelectionTable(fvPatchVector2DField, dictionary);
}