31#ifndef ITHACAparallel_H
32#define ITHACAparallel_H
80 List<List <Type>>
combineFields(GeometricField<Type, fvPatchField, volMesh>&
85 GeometricField<type, fvPatchField, volMesh> field);
127 GeometricField<scalar, fvPatchField, volMesh>& field);
130GeometricField<type, fvPatchField, volMesh>
134 autoPtr<Time> globalTimePtr_;
135 autoPtr<fvMesh> globalMeshPtr_;
137 fvMesh& localMesh =
mesh;
138 const word globalConstant = localTime.rootPath() +
"/" +
139 localTime.globalCaseName() +
"/constant";
140 const fileName gRootPath = localTime.rootPath();
141 const fileName gCaseName = localTime.globalCaseName();
150 Time& globalTime = globalTimePtr_();
157 fvMesh::defaultRegion,
158 globalTime.timeName(),
164 GeometricField<type, fvPatchField, volMesh> F_glob
169 globalTimePtr_().timeName(),
Implementation of the assert function for ITHACA-FV.
Class for parallel handling, it has several functions to deal with parallel problems,...
autoPtr< labelList > Start
StartFace on the gloabl Mesh.
autoPtr< labelIOList > indices
Cell proc addressing.
autoPtr< List< labelList > > IndFaceLocal
Indexing.
static void suspendMPI()
Function to sumpend MPI.
fvMesh & mesh
Mesh object defined locally.
ITHACAparallel()=delete
Delete empty constructor.
static ITHACAparallel * getInstance()
Gets an instance of ithacaparallel, to be used if the instance is already existing.
GeometricField< type, fvPatchField, volMesh > constructGlobalField(GeometricField< type, fvPatchField, volMesh > field)
Time & runTime
runTime defined locally
static void resumeMPI()
Function to resume MPI.
label N_IF_glob
Totoal number of internal field cells.
static List< int > newProcIDs_
ID of the NEW process.
autoPtr< labelIOList > indicesF
Face proc addressing.
static List< int > oldProcIDs_
ID of the OLD process.
autoPtr< labelList > Gsize_BF
Boundary Field variables representing the total number of faces for each processor.
List< List< Type > > combineFields(GeometricField< Type, fvPatchField, volMesh > &field)
Function to get a global field from a parallel one.
label N_BF
Number of Boundary Patches without considering processors.
autoPtr< labelList > Lsize_BF
Local size at the boundary.