Module ppm_module_map_part_partial

This module provides the mapping routines for partial particle mapping

Defined Types

name description

no types

Defined Module Interfaces

name description

ppm_map_part_partial

Defined Module Subroutines

name description

no subroutines

Interface ppm_map_part_partial

Subroutines contained in this interface:

name description

ppm_map_part_partial_d

This routine maps the particles onto the topology using a local map

ppm_map_part_partial_s

Subroutine ppm_map_part_partial_d

This routine maps the particles onto the topology using a local map (i.e. each processor only communicates with its neighbors).

The routine takes care of periodic boundary conditions (using ppm_impose_part_bc). So no need for the user to do this manually.

All particles must be assigned after calling the partial map unless the optional ignore flag has been set true. In this case unassigned particles are discarded.

[Note]Note

The first part of the buffer contains the on processor data.

Arguments

name type dimension intent optional description

topoid

integer

(IN)

ID of the topology

xp

real array

(:,:)

(INOUT)

Particle coordinates

npart

integer

(IN)

The number of particles (on the local processor)

info

integer

(OUT)

Returns status, 0 upon success

ignore

logical

(IN)

X

Ignore unassigned particles. Default is false

topoid

integer, , (IN)

ID of the topology

xp

real array, (:,:), (INOUT)

Particle coordinates

npart

integer, , (IN)

The number of particles (on the local processor)

info

integer, , (OUT)

Returns status, 0 upon success

(Optional) ignore

logical, , (IN)

Ignore unassigned particles. Default is false

Used Modules

ppm_module_data, ppm_module_error, ppm_module_typedef, ppm_module_alloc, ppm_module_check_id, ppm_module_substop, ppm_module_util_commopt, ppm_module_write, ppm_module_impose_part_bc, ppm_module_substart

Subroutine ppm_map_part_partial_s

Arguments

name type dimension intent optional description

topoid

integer

(IN)

ID of the topology

xp

real array

(:,:)

(INOUT)

Particle coordinates

npart

integer

(IN)

The number of particles (on the local processor)

info

integer

(OUT)

Returns status, 0 upon success

ignore

logical

(IN)

X

Ignore unassigned particles. Default is false

topoid

integer, , (IN)

ID of the topology

xp

real array, (:,:), (INOUT)

Particle coordinates

npart

integer, , (IN)

The number of particles (on the local processor)

info

integer, , (OUT)

Returns status, 0 upon success

(Optional) ignore

logical, , (IN)

Ignore unassigned particles. Default is false

Used Modules

ppm_module_data, ppm_module_error, ppm_module_typedef, ppm_module_alloc, ppm_module_check_id, ppm_module_substop, ppm_module_util_commopt, ppm_module_write, ppm_module_impose_part_bc, ppm_module_substart

Defined Module Variables

name type dimension description

no variables

Used Modules

has no uses