MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / interRegionOption

Class interRegionOption

src/fvOptions/interRegionOption/interRegionOption.H:52–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50\*---------------------------------------------------------------------------*/
51
52class interRegionOption
53:
54 public option
55{
56protected:
57
58 // Protected data
59
60 //- Master or slave region
61 bool master_;
62
63 //- Name of the neighbour region to map
64 word nbrRegionName_;
65
66 //- Mesh to mesh interpolation object
67 autoPtr<meshToMesh> meshInterpPtr_;
68
69
70 // Protected member functions
71
72 //- Set the mesh to mesh interpolation object
73 void setMapper();
74
75
76public:
77
78 //- Runtime type information
79 TypeName("interRegionOption");
80
81
82 // Constructors
83
84 //- Construct from dictionary
85 interRegionOption
86 (
87 const word& name,
88 const word& modelType,
89 const dictionary& dict,
90 const fvMesh& mesh
91 );
92
93
94 //- Destructor
95 virtual ~interRegionOption();
96
97
98 // Member Functions
99
100 // Access
101
102 //- Return const access to the neighbour region name
103 inline const word& nbrRegionName() const;
104
105 //- Return const access to the mapToMap pointer
106 inline const meshToMesh& meshInterp() const;
107
108
109 // IO

Calls

no outgoing calls

Tested by

no test coverage detected