Module ppm_module_mesh_on_subs

This module contains the interface to ppm_mesh_on_subs.

[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_on_subs

Defined Module Subroutines

name description

no subroutines

Interface ppm_mesh_on_subs

Subroutines contained in this interface:

name description

ppm_mesh_on_subs_s

This routine defines meshes on a given collection of subs. The

ppm_mesh_on_subs_d

This routine defines meshes on a given collection of subs. The

Subroutine ppm_mesh_on_subs_d

This routine defines meshes on a given collection of subs. The subs must have been defined such that their extent is an integer multiple of the mesh spacing in all directions. If this is not the case this routine will fail.

Arguments

name type dimension intent optional description

nm

integer array

(:)

(IN)

The number of mesh points (not cells) in each direction of the

min_phys

real array

(:)

(IN)

The minimum coordinate of the physical/computational domain

max_phys

real array

(:)

(IN)

The maximum coordinate of the physical/computational domain

min_sub

real array

(:,:)

(IN)

Min. extent of the subdomains

max_sub

real array

(:,:)

(IN)

Max. extent of the subdomains

nsubs

integer

(IN)

Total number of subdomains

istart

integer array

(:,:)

Start indices (i,j,k) (first index) of mesh in sub isub

ndata

integer array

(:,:)

Number of grid points in x,y[,z] (first index) of mesh on sub

info

integer

(OUT)

Returns status, 0 upon success

nm

integer array, (:), (IN)

The number of mesh points (not cells) in each direction of the global comput. domain. (including those ON the boundaries)

min_phys

real array, (:), (IN)

The minimum coordinate of the physical/computational domain

max_phys

real array, (:), (IN)

The maximum coordinate of the physical/computational domain

min_sub

real array, (:,:), (IN)

Min. extent of the subdomains

max_sub

real array, (:,:), (IN)

Max. extent of the subdomains

nsubs

integer, , (IN)

Total number of subdomains

istart

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

Start indices (i,j,k) (first index) of mesh in sub isub (second index) in global mesh.

ndata

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

Number of grid points in x,y[,z] (first index) of mesh on sub isub (second index).

info

integer, , (OUT)

Returns status, 0 upon success

Used Modules

ppm_module_data, ppm_module_error, ppm_module_alloc, ppm_module_substop, ppm_module_write, ppm_module_substart

Subroutine ppm_mesh_on_subs_s

This routine defines meshes on a given collection of subs. The subs must have been defined such that their extent is an integer multiple of the mesh spacing in all directions. If this is not the case this routine will fail.

Arguments

name type dimension intent optional description

nm

integer array

(:)

(IN)

The number of mesh points (not cells) in each direction of the

min_phys

real array

(:)

(IN)

The minimum coordinate of the physical/computational domain

max_phys

real array

(:)

(IN)

The maximum coordinate of the physical/computational domain

min_sub

real array

(:,:)

(IN)

Min. extent of the subdomains

max_sub

real array

(:,:)

(IN)

Max. extent of the subdomains

nsubs

integer

(IN)

Total number of subdomains

istart

integer array

(:,:)

Start indices (i,j,k) (first index) of mesh in sub isub

ndata

integer array

(:,:)

Number of grid points in x,y[,z] (first index) of mesh on sub

info

integer

(OUT)

Returns status, 0 upon success

nm

integer array, (:), (IN)

The number of mesh points (not cells) in each direction of the global comput. domain. (including those ON the boundaries)

min_phys

real array, (:), (IN)

The minimum coordinate of the physical/computational domain

max_phys

real array, (:), (IN)

The maximum coordinate of the physical/computational domain

min_sub

real array, (:,:), (IN)

Min. extent of the subdomains

max_sub

real array, (:,:), (IN)

Max. extent of the subdomains

nsubs

integer, , (IN)

Total number of subdomains

istart

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

Start indices (i,j,k) (first index) of mesh in sub isub (second index) in global mesh.

ndata

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

Number of grid points in x,y[,z] (first index) of mesh on sub isub (second index).

info

integer, , (OUT)

Returns status, 0 upon success

Used Modules

ppm_module_data, ppm_module_error, ppm_module_alloc, ppm_module_substop, ppm_module_write, ppm_module_substart

Defined Module Variables

name type dimension description

no variables

Used Modules

has no uses