Skip to content
  • Iulian Grindeanu's avatar
    Several interface changes and updates · b3e5468d
    Iulian Grindeanu authored and vijaysm's avatar vijaysm committed
    - Use local elements ids, not global element ids
      also, for connectivity info, use local vertex ids,
      which would correspond to index in the local range
    - Add routine to return the total number of blocks, elements, vertices,
    - The GetMeshInfo arrays are size 3, but right now only the total is returned
    - Report local/owned and ghost vertices/elements
      * For vertices and elements
          vertices and elements are arranged in order, first local,
          and then ghosts
      * Vertices can be local and not owned (moab terminology)
        those are at the interface
      * For elements it is always owned = local.
        This corresponds to the index in the local range, for
        all possible elements; first in the range should be owned/local.
    - Now pass the length of arrays by reference too.
      So we will not have to pass by value for fortran
      the only pass by value will be for length of
      character strings, which is an automatic pass by
      the compiler, in some cases.
    b3e5468d