cyclicTransform: Added null constructor to permit storage in a list

This commit is contained in:
Will Bainbridge
2022-04-06 12:24:42 +01:00
parent a2ceff7360
commit 796e1cb2e0
2 changed files with 11 additions and 2 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2020-2021 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2020-2022 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -189,6 +189,12 @@ bool Foam::cyclicTransform::set
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
Foam::cyclicTransform::cyclicTransform()
:
cyclicTransform(true)
{}
Foam::cyclicTransform::cyclicTransform
(
const bool defaultIsNone

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2020-2022 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -114,6 +114,9 @@ public:
// Constructors
// Transformation set NONE
cyclicTransform();
// Transformation set as UNSPECIFIED or NONE
cyclicTransform(const bool defaultIsNone);