dynamicMotionSolverListFvMesh.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2016 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::dynamicMotionSolverListFvMesh
28 
29 Description
30  Dynamic mesh able to handle multiple motion solvers.
31  NOTE: If the word entry "solvers" is not found it falls back to a single
32  motion solver behavior.
33 
34 SourceFiles
35  dynamicMotionSolverListFvMesh.C
36 
37 \*---------------------------------------------------------------------------*/
38 
39 #ifndef dynamicMotionSolverListFvMesh_H
40 #define dynamicMotionSolverListFvMesh_H
41 
42 #include "dynamicFvMesh.H"
43 
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 
46 namespace Foam
47 {
48 
49 class motionSolver;
50 
51 /*---------------------------------------------------------------------------*\
52  Class dynamicMotionSolverListFvMesh Declaration
53 \*---------------------------------------------------------------------------*/
54 
56 :
57  public dynamicFvMesh
58 {
59  // Private data
60 
61  PtrList<motionSolver> motionSolvers_;
62 
63 
64  // Private Member Functions
65 
66  //- No copy construct
68  (
70  ) = delete;
71 
72  //- No copy assignment
73  void operator=(const dynamicMotionSolverListFvMesh&) = delete;
74 
75 
76 public:
77 
78  //- Runtime type information
79  TypeName("dynamicMotionSolverListFvMesh");
80 
81 
82  // Constructors
83 
84  //- Construct from IOobject
86 
87 
88  //- Destructor
90 
91 
92  // Member Functions
93 
94  //- Dummy update function which does not change the mesh
95  virtual bool update();
96 };
97 
98 
99 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100 
101 } // End namespace Foam
102 
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 
105 #endif
106 
107 // ************************************************************************* //
Foam::IOobject
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Definition: IOobject.H:104
Foam::dynamicFvMesh
Abstract base class for geometry and/or topology changing fvMesh.
Definition: dynamicFvMesh.H:78
Foam::PtrList
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Definition: List.H:62
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::dynamicMotionSolverListFvMesh::TypeName
TypeName("dynamicMotionSolverListFvMesh")
Runtime type information.
dynamicFvMesh.H
Foam::dynamicMotionSolverListFvMesh
Dynamic mesh able to handle multiple motion solvers. NOTE: If the word entry "solvers" is not found i...
Definition: dynamicMotionSolverListFvMesh.H:54
Foam::dynamicMotionSolverListFvMesh::update
virtual bool update()
Dummy update function which does not change the mesh.
Definition: dynamicMotionSolverListFvMesh.C:118
Foam::dynamicMotionSolverListFvMesh::~dynamicMotionSolverListFvMesh
~dynamicMotionSolverListFvMesh()
Destructor.
Definition: dynamicMotionSolverListFvMesh.C:112