MOAB: Mesh Oriented datABase
(version 5.5.0)
iMeshP_extensions.h
Go to the documentation of this file.
1
#ifndef IMESHP_REC_CBIND_H__
2
#define IMESHP_REC_CBIND_H__
3
4
#include "
iMeshP.h
"
5
#include "
iMeshP_protos.h
"
6
#include "
moab_mpi.h
"
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
/** \brief Convert a fortran to C communicator
13
* Given a Fortran communicator, convert to a C communicator that can be passed back to iMeshP.
14
* Though this is an iMeshP function, it doesn't take an iMeshP Partition handle, since the (C)
15
* communicator is needed by the function that creates the partition.
16
* COMMUNICATION: None.
17
*
18
* \param instance (In) Mesh instance to contain the partition.
19
* \param fcomm (In) Pointer to fortran communicator
20
* \param ccomm (Out) Pointer to the C communicator
21
* \param err (Out) Error code.
22
*/
23
void
iMeshP_getCommunicator
(
iMesh_Instance
instance,
int
* fcomm, MPI_Comm* ccomm,
int
* err );
24
25
/** \brief Assign a global id space to entities
26
* Assign a global id space to entities and vertices, and optionally intermediate-dimension entities
27
*
28
* COMMUNICATION: Collective.
29
*/
30
void
iMeshP_assignGlobalIds
(
iMesh_Instance
instance,
31
const
iMeshP_PartitionHandle
partition,
32
const
iBase_EntitySetHandle
this_set,
33
const
int
dimension,
34
const
int
start_id,
35
const
int
largest_dim_only,
36
const
int
parallel,
37
const
int
owned_only,
38
int
* err );
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
itaps
imesh
iMeshP_extensions.h
Generated on Wed Oct 4 2023 14:20:28 for MOAB: Mesh Oriented datABase by
1.9.1