| 54 | \*---------------------------------------------------------------------------*/ |
| 55 | |
| 56 | class surfMesh |
| 57 | : |
| 58 | public surfaceRegistry, |
| 59 | private MeshedSurfaceIOAllocator, |
| 60 | public PrimitivePatch<face, ::Foam::UList, ::Foam::SubField<point>, point> |
| 61 | { |
| 62 | // friends |
| 63 | template<class Face> friend class MeshedSurface; |
| 64 | template<class Face> friend class UnsortedMeshedSurface; |
| 65 | |
| 66 | public: |
| 67 | |
| 68 | // Public data types |
| 69 | |
| 70 | //- Enumeration defining the state of the mesh after a read update. |
| 71 | // Used for post-processing applications, where the mesh |
| 72 | // needs to update based on the files written in time directores |
| 73 | enum readUpdateState |
| 74 | { |
| 75 | UNCHANGED, |
| 76 | POINTS_MOVED, |
| 77 | TOPO_CHANGE, |
| 78 | TOPO_PATCH_CHANGE |
| 79 | }; |
| 80 | |
| 81 | |
| 82 | private: |
| 83 | |
| 84 | // Private typedefs |
| 85 | |
| 86 | typedef MeshedSurfaceIOAllocator Allocator; |
| 87 | |
| 88 | typedef PrimitivePatch |
| 89 | < |
| 90 | face, |
| 91 | ::Foam::UList, |
| 92 | ::Foam::SubField<point>, |
| 93 | point |
| 94 | > |
| 95 | MeshReference; |
| 96 | |
| 97 | |
| 98 | // Private Member Functions |
| 99 | |
| 100 | //- Disallow construct as copy |
| 101 | surfMesh(const surfMesh&); |
| 102 | |
| 103 | //- Disallow default bitwise assignment |
| 104 | void operator=(const surfMesh&); |
| 105 | |
| 106 | |
| 107 | protected: |
| 108 | |
| 109 | // Protected Member Functions |
| 110 | |
| 111 | //- Non-const access to global points |
| 112 | pointField& storedPoints() |
| 113 | { |