|
| APFMeshAdapter (const Comm< int > &comm, apf::Mesh *m, std::string primary, std::string adjacency, bool needSecondAdj=false) |
|
enum BaseAdapterType | adapterType () const |
| Returns the type of adapter. More...
|
|
virtual | ~MeshAdapter () |
| Destructor. More...
|
|
| MeshAdapter () |
|
virtual bool | areEntityIDsUnique (MeshEntityType etype) const |
| Provide a pointer to the entity topology types. More...
|
|
virtual size_t | getLocalNumOf (MeshEntityType etype) const =0 |
| Returns the global number of mesh entities of MeshEntityType. More...
|
|
virtual void | getIDsViewOf (MeshEntityType etype, gno_t const *&Ids) const =0 |
| Provide a pointer to this process' identifiers. More...
|
|
virtual void | getTopologyViewOf (MeshEntityType etype, enum EntityTopologyType const *&Types) const |
| Provide a pointer to the entity topology types. More...
|
|
virtual int | getNumWeightsPerOf (MeshEntityType etype) const |
| Return the number of weights per entity. More...
|
|
virtual void | getWeightsViewOf (MeshEntityType etype, const scalar_t *&weights, int &stride, int idx=0) const |
| Provide a pointer to one of the number of this process' optional entity weights. More...
|
|
virtual int | getDimension () const |
| Return dimension of the entity coordinates, if any. More...
|
|
virtual void | getCoordinatesViewOf (MeshEntityType etype, const scalar_t *&coords, int &stride, int coordDim) const |
| Provide a pointer to one dimension of entity coordinates. More...
|
|
virtual bool | availAdjs (MeshEntityType source, MeshEntityType target) const |
| Returns whether a first adjacency combination is available. More...
|
|
virtual size_t | getLocalNumAdjs (MeshEntityType source, MeshEntityType target) const |
| Returns the number of first adjacencies on this process. More...
|
|
virtual void | getAdjsView (MeshEntityType source, MeshEntityType target, const lno_t *&offsets, const gno_t *&adjacencyIds) const |
| Sets pointers to this process' mesh first adjacencies. More...
|
|
virtual bool | avail2ndAdjs (MeshEntityType sourcetarget, MeshEntityType through) const |
| Returns whether a second adjacency combination is available. If combination is not available in the MeshAdapter, Zoltan2 will compute them, using A^T A, where A is matrix of first adjacencies. More...
|
|
virtual size_t | getLocalNum2ndAdjs (MeshEntityType sourcetarget, MeshEntityType through) const |
| if avail2ndAdjs(), returns the number of second adjacencies on this process. More...
|
|
virtual void | get2ndAdjsView (MeshEntityType sourcetarget, MeshEntityType through, const lno_t *&offsets, const gno_t *&adjacencyIds) const |
| if avail2ndAdjs(), set pointers to this process' second adjacencies More...
|
|
virtual int | getNumWeightsPer2ndAdj (MeshEntityType sourcetarget, MeshEntityType through) const |
| Returns the number (0 or greater) of weights per second adjacency. Note: second-adjacency weights may be used only if avail2ndAdjs(). More...
|
|
virtual void | get2ndAdjWeightsView (MeshEntityType sourcetarget, MeshEntityType through, const scalar_t *&weights, int &stride, int idx) const |
| Provide a pointer to the second adjacency weights, if any. Note: second-adjacency weights may be used only if avail2ndAdjs(). More...
|
|
enum MeshEntityType | getPrimaryEntityType () const |
| Returns the entity to be partitioned, ordered, colored, etc. More...
|
|
enum MeshEntityType | getAdjacencyEntityType () const |
| Returns the entity that describes adjacencies between the entities to be partitioned, ordered, colored, etc. That is, a primaryEntityType that contains an adjacencyEntityType are adjacent. More...
|
|
enum MeshEntityType | getSecondAdjacencyEntityType () const |
| Returns the entity that describes second adjacencies between the entities to be partitioned, ordered, colored, etc. That is, two primaryEntityType that share a secondAdjacencyEntityType are adjacent. More...
|
|
void | setEntityTypes (std::string ptypestr, std::string atypestr, std::string satypestr) |
| Sets the primary, adjacency, and second adjacency entity types. Called by algorithm based on parameter values in parameter list from application. Also sets primaryEntityType, adjacencyEntityType, and secondAdjacencyEntityType to something reasonable: primaryEntityType not adjacencyEntityType or secondAdjacencyEntityType. More...
|
|
virtual bool | useDegreeAsWeightOf (MeshEntityType etype, int idx) const |
| Optional method allowing the idx-th weight of entity type etype to be set as the number of neighbors (the degree) of the entity Default is false; user can change in his MeshAdapter implementation. More...
|
|
size_t | getLocalNumIDs () const |
| Returns the number of objects on this process. More...
|
|
void | getIDsView (const gno_t *&Ids) const |
| Provide a pointer to this process' identifiers. More...
|
|
int | getNumWeightsPerID () const |
| Returns the number of weights per object. Number of weights per object should be zero or greater. If zero, then it is assumed that all objects are equally weighted. More...
|
|
void | getWeightsView (const scalar_t *&wgt, int &stride, int idx=0) const |
| Provide pointer to a weight array with stride. More...
|
|
void | getCoordinatesView (const scalar_t *&coords, int &stride, int coordDim) const |
|
bool | useDegreeAsWeight (int idx) const |
|
virtual | ~BaseAdapter () |
| Destructor. More...
|
|
void | getPartsView (const part_t *&inputPart) const |
| Provide pointer to an array containing the input part assignment for each ID. The input part information may be used for re-partitioning to reduce data movement, or for mapping parts to processes. Adapters may return NULL for this pointer (the default behavior); if NULL is returned, algorithms will assume the rank. More...
|
|
template<typename Adapter > |
void | applyPartitioningSolution (const User &in, User *&out, const PartitioningSolution< Adapter > &solution) const |
| Apply a PartitioningSolution to an input. More...
|
|
template<typename User>
class Zoltan2::APFMeshAdapter< User >
Definition at line 68 of file Zoltan2_APFMeshAdapter.hpp.