Module ppm_module_scale_domain

This module provides routines for scaling the domain

Defined Types

name description

no types

Defined Module Interfaces

name description

ppm_scale_domain

Defined Module Subroutines

name description

no subroutines

Interface ppm_scale_domain

Subroutines contained in this interface:

name description

ppm_scale_domain_s

This routine scales the computational domain ie. it scales the

ppm_scale_domain_d

This routine scales the computational domain ie. it scales the

Subroutine ppm_scale_domain_d

This routine scales the computational domain ie. it scales the topo%ppm_min_phys and topo%ppm_max_phys and the subs associated with the topology, topo being the topology at topoid. The scaling is given by: x_new = (x_old - x_origo)*x_scale + x_origo

Arguments

name type dimension intent optional description

topoid

integer

(IN)

User topology:

scale

real array

(:)

(IN)

Scale factors

origo

real array

(:)

(IN)

Origin of the scaling

info

integer

(OUT)

Returns status, 0 upon success

topoid

integer, , (IN)

User topology:

  • topoid points to a valid topology: scale this topology
  • topoid == ppm_param_topo_undefined: scale all topologies
scale

real array, (:), (IN)

Scale factors

origo

real array, (:), (IN)

Origin of the scaling

info

integer, , (OUT)

Returns status, 0 upon success

Used Modules

ppm_module_data, ppm_module_error, ppm_module_check_id, ppm_module_substop, ppm_module_substart

Subroutine ppm_scale_domain_s

This routine scales the computational domain ie. it scales the topo%ppm_min_phys and topo%ppm_max_phys and the subs associated with the topology, topo being the topology at topoid. The scaling is given by: x_new = (x_old - x_origo)*x_scale + x_origo

Arguments

name type dimension intent optional description

topoid

integer

(IN)

User topology:

scale

real array

(:)

(IN)

Scale factors

origo

real array

(:)

(IN)

Origin of the scaling

info

integer

(OUT)

Returns status, 0 upon success

topoid

integer, , (IN)

User topology:

  • topoid points to a valid topology: scale this topology
  • topoid == ppm_param_topo_undefined: scale all topologies
scale

real array, (:), (IN)

Scale factors

origo

real array, (:), (IN)

Origin of the scaling

info

integer, , (OUT)

Returns status, 0 upon success

Used Modules

ppm_module_data, ppm_module_error, ppm_module_check_id, ppm_module_substop, ppm_module_substart

Defined Module Variables

name type dimension description

no variables

Used Modules

has no uses