Module ppm_module_define_subs_bc

This module provides the decomposition routines.

Defined Types

name description

no types

Defined Module Interfaces

name description

ppm_define_subs_bc

Defined Module Subroutines

name description

no subroutines

Interface ppm_define_subs_bc

Subroutines contained in this interface:

name description

define_subsbc_s

This routine defines the boundary conditions of the

define_subsbc_d

This routine defines the boundary conditions of the

Subroutine define_subsbc_d

This routine defines the boundary conditions of the subs on all processors. Thus subs that have faces at the physical boundary are marked with +1 and internal faces with the value 0. This information is obtained by comparing the coordinates of the subvs with the values of min_phys and max_phys.

[Warning]Warning

If the user created the subs the comparison of floats in the present routine might fail (round off errors) and the comparison should be replaced by a ABS(value-target) < epsilon comparison.

Arguments

name type dimension intent optional description

min_phys

real array

(:)

(IN)

Min. extent of the physical domain

max_phys

real array

(:)

(IN)

Max. extent of the physical domain

bcdef

integer array

(:)

(IN)

Boundary condition definition

min_sub

real array

(:,:)

(IN)

Min. extent of the sub domain

max_sub

real array

(:,:)

(IN)

Max. extent of the sub domain

nsubs

integer

(IN)

The total number of (real) sub domains

subs_bc

integer array

(:,:)

Boundary defintion of each sub

info

integer

(OUT)

Returns status, 0 upon success

min_phys

real array, (:), (IN)

Min. extent of the physical domain

max_phys

real array, (:), (IN)

Max. extent of the physical domain

bcdef

integer array, (:), (IN)

Boundary condition definition

min_sub

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

Min. extent of the sub domain

max_sub

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

Max. extent of the sub domain

nsubs

integer, , (IN)

The total number of (real) sub domains

subs_bc

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

Boundary defintion of each sub

info

integer, , (OUT)

Returns status, 0 upon success

Used Modules

ppm_module_data, ppm_module_alloc, ppm_module_error, ppm_module_substop, ppm_module_substart

Subroutine define_subsbc_s

This routine defines the boundary conditions of the subs on all processors. Thus subs that have faces at the physical boundary are marked with +1 and internal faces with the value 0. This information is obtained by comparing the coordinates of the subvs with the values of min_phys and max_phys.

[Warning]Warning

If the user created the subs the comparison of floats in the present routine might fail (round off errors) and the comparison should be replaced by a ABS(value-target) < epsilon comparison.

Arguments

name type dimension intent optional description

min_phys

real array

(:)

(IN)

Min. extent of the physical domain

max_phys

real array

(:)

(IN)

Max. extent of the physical domain

bcdef

integer array

(:)

(IN)

Boundary condition definition

min_sub

real array

(:,:)

(IN)

Min. extent of the sub domain

max_sub

real array

(:,:)

(IN)

Max. extent of the sub domain

nsubs

integer

(IN)

The total number of (real) sub domains

subs_bc

integer array

(:,:)

Boundary defintion of each sub

info

integer

(OUT)

Returns status, 0 upon success

min_phys

real array, (:), (IN)

Min. extent of the physical domain

max_phys

real array, (:), (IN)

Max. extent of the physical domain

bcdef

integer array, (:), (IN)

Boundary condition definition

min_sub

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

Min. extent of the sub domain

max_sub

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

Max. extent of the sub domain

nsubs

integer, , (IN)

The total number of (real) sub domains

subs_bc

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

Boundary defintion of each sub

info

integer, , (OUT)

Returns status, 0 upon success

Used Modules

ppm_module_data, ppm_module_alloc, ppm_module_error, ppm_module_substop, ppm_module_substart

Defined Module Variables

name type dimension description

no variables

Used Modules

has no uses