Module ppm_module_mesh_define

This module contains the Interface to ppm_mesh_define

[Note]Note

The terminology distinguishes between meshes and fields (the data living on the meshes). Several fields can use the same mesh. Meshes are defined as ppm-internal TYPES, whereas fields are user-provided arrays.

Defined Types

name description

no types

Defined Module Interfaces

name description

ppm_mesh_define

Defined Module Subroutines

name description

no subroutines

Interface ppm_mesh_define

Subroutines contained in this interface:

name description

ppm_mesh_define

This routine defines a new mesh on an existing topology.

Subroutine ppm_mesh_define

This routine defines a new mesh on an existing topology. The routine checks that the subdomains of the topology are compatible with the specified mesh (i.e. are integer multiples of the mesh spacing in extent). If not, an error is returned.

Arguments

name type dimension intent optional description

topoid

integer

(IN)

Topology ID for which to create mesh

meshid

integer

(INOUT)

Mesh ID of the new mesh. If .LE. 0 on input,

nm

integer array

(:)

(IN)

Number of mesh POINTS in each dimension. Subs must be compatible

istart

integer array

(:,:)

Start indices of all subs meshes in global mesh

ndata

integer array

(:,:)

Number of mesh points in each direction on each sub mesh

info

integer

(OUT)

Returns status, 0 upon success

topoid

integer, , (IN)

Topology ID for which to create mesh

meshid

integer, , (INOUT)

Mesh ID of the new mesh. If .LE. 0 on input, the routine will create an automatic one and return it here.

nm

integer array, (:), (IN)

Number of mesh POINTS in each dimension. Subs must be compatible with this mesh, otherwise an error occurs.

istart

integer array, (:,:), no intent declared

Start indices of all subs meshes in global mesh

ndata

integer array, (:,:), no intent declared

Number of mesh points in each direction on each sub mesh

info

integer, , (OUT)

Returns status, 0 upon success

Used Modules

ppm_module_data, ppm_module_error, ppm_module_mesh_store, ppm_module_check_id, ppm_module_substop, ppm_module_mesh_on_subs, ppm_module_substart

Defined Module Variables

name type dimension description

no variables

Used Modules

has no uses