This module provides the subdomain cost calculation routine.

name | description |
---|---|

Subroutines contained in this interface:

name | description |
---|---|

This routine calculates the computational cost of | |

This routine calculates the computational cost of |

This routine calculates the computational cost of each subdomain based on either the particles (if there are any) or the mesh points. The per-particle costs are summed up if present. If not, a unity cost is assumed for each particle.

Note | |
---|---|

If |

name | type | dimension | intent | optional | description |
---|---|---|---|---|---|

real array | (:,:) | (IN) | Particle positions | ||

integer | (IN) | Number of particles. Set to .LE. 0 if mesh-based costs are desired. | |||

real array | (:,:) | (IN) | Min. extent of the subdomains | ||

real array | (:,:) | (IN) | Max. extent of the subdomains | ||

integer | (IN) | Total number of subdomains | |||

integer array | (:,:) | (IN) | Number of mesh nodes in each direction (first index) on each | ||

real array | (:) | Aggregate cost for each subdomain | |||

integer | (OUT) | Returns status, 0 upon success | |||

real array | (:) | (IN) |
| Per-particle costs. OPTIONAL. If not present, a cost of 1 per |

real array, `(:,:)`

, (IN)

Particle positions

integer, , (IN)

Number of particles. Set to .LE. 0 if mesh-based costs are desired.

real array, `(:,:)`

, (IN)

Min. extent of the subdomains

real array, `(:,:)`

, (IN)

Max. extent of the subdomains

integer, , (IN)

Total number of subdomains

integer array, `(:,:)`

, (IN)

Number of mesh nodes in each direction (first index) on each sub (second index). If Np is .LE. 0, this is taken to compute the cost. If SIZE(nnodes,2).LT.nsubs, and there are no particles, cost is computed as geometric volume.

real array, `(:)`

, no intent declared

Aggregate cost for each subdomain

integer, , (OUT)

Returns status, 0 upon success

real array, `(:)`

, (IN)

Per-particle costs. OPTIONAL. If not present, a cost of 1 per particle is assumed.

ppm_module_data, ppm_module_error, ppm_module_alloc, ppm_module_substop, ppm_module_write, ppm_module_substart

This routine calculates the computational cost of each subdomain based on either the particles (if there are any) or the mesh points. The per-particle costs are summed up if present. If not, a unity cost is assumed for each particle.

Note | |
---|---|

If |

name | type | dimension | intent | optional | description |
---|---|---|---|---|---|

real array | (:,:) | (IN) | Particle positions | ||

integer | (IN) | Number of particles. Set to .LE. 0 if mesh-based costs are desired. | |||

real array | (:,:) | (IN) | Min. extent of the subdomains | ||

real array | (:,:) | (IN) | Max. extent of the subdomains | ||

integer | (IN) | Total number of subdomains | |||

integer array | (:,:) | (IN) | Number of mesh nodes in each direction (first index) on each | ||

real array | (:) | Aggregate cost for each subdomain | |||

integer | (OUT) | Returns status, 0 upon success | |||

real array | (:) | (IN) |
| Per-particle costs. OPTIONAL. If not present, a cost of 1 per |

real array, `(:,:)`

, (IN)

Particle positions

integer, , (IN)

Number of particles. Set to .LE. 0 if mesh-based costs are desired.

real array, `(:,:)`

, (IN)

Min. extent of the subdomains

real array, `(:,:)`

, (IN)

Max. extent of the subdomains

integer, , (IN)

Total number of subdomains

integer array, `(:,:)`

, (IN)

Number of mesh nodes in each direction (first index) on each sub (second index). If Np is .LE. 0, this is taken to compute the cost. If SIZE(nnodes,2).LT.nsubs, and there are no particles, cost is computed as geometric volume.

real array, `(:)`

, no intent declared

Aggregate cost for each subdomain

integer, , (OUT)

Returns status, 0 upon success

real array, `(:)`

, (IN)

Per-particle costs. OPTIONAL. If not present, a cost of 1 per particle is assumed.

ppm_module_data, ppm_module_error, ppm_module_alloc, ppm_module_substop, ppm_module_write, ppm_module_substart