This module provides the routine that determines the optimal position where to cut a box.

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

Subroutines contained in this interface:

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

This routine finds the best cuting positions for the given | |

This routine finds the best cuting positions for the given |

This routine finds the best cuting positions for the given cut directions.

Note | |
---|---|

The cost of a particle is counted as pcost (if given) or 1. For meshes, the cost is 1 per mesh point. For the geometry part, the cost of a box is given by its volume. Use weights(3) to adjust this if needed. |

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

real array | (:,:) | (IN) | Position of particles | ||

integer | (IN) | Number of particles | |||

real array | (3) | (IN) | Weights for the tree cost contributions: particles, mesh, | ||

real array | (:,:) | (IN) | Minimum coordinate of the boxes | ||

real array | (:,:) | (IN) | Maximum coordinate of the boxes | ||

integer | (IN) | ID of box to be cut | |||

integer | (IN) | Number of cut directions | |||

real array | (3) | (IN) | Minimum box size required in all spatial directions | ||

integer array | (:) | (IN) | Cut directions | ||

real array | (:) | Positions of best cuts. index: 1..ncut. | |||

integer | (OUT) | Return status, 0 on success | |||

real array | (:) | (IN) |
| Argument of length Npart, specifying the |

real array, `(:,:)`

, (IN)

Position of particles

integer, , (IN)

Number of particles

real array, `(3)`

, (IN)

Weights for the tree cost contributions: particles, mesh, geometry for finding the cut

real array, `(:,:)`

, (IN)

Minimum coordinate of the boxes

real array, `(:,:)`

, (IN)

Maximum coordinate of the boxes

integer, , (IN)

ID of box to be cut

integer, , (IN)

Number of cut directions

real array, `(3)`

, (IN)

Minimum box size required in all spatial directions

integer array, `(:)`

, (IN)

Cut directions

real array, `(:)`

, no intent declared

Positions of best cuts. index: 1..ncut.

integer, , (OUT)

Return status, 0 on success

real array, `(:)`

, (IN)

Argument of length Npart, specifying the computational cost of each particle.

ppm_module_data, ppm_module_error, ppm_module_substop, ppm_module_data_tree, ppm_module_write, ppm_module_substart

This routine finds the best cuting positions for the given cut directions.

Note | |
---|---|

The cost of a particle is counted as pcost (if given) or 1. For meshes, the cost is 1 per mesh point. For the geometry part, the cost of a box is given by its volume. Use weights(3) to adjust this if needed. |

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

real array | (:,:) | (IN) | Position of particles | ||

integer | (IN) | Number of particles | |||

real array | (3) | (IN) | Weights for the tree cost contributions: particles, mesh, | ||

real array | (:,:) | (IN) | Minimum coordinate of the boxes | ||

real array | (:,:) | (IN) | Maximum coordinate of the boxes | ||

integer | (IN) | ID of box to be cut | |||

integer | (IN) | Number of cut directions | |||

real array | (3) | (IN) | Minimum box size required in all spatial directions | ||

integer array | (:) | (IN) | Cut directions | ||

real array | (:) | Positions of best cuts. index: 1..ncut. | |||

integer | (OUT) | Return status, 0 on success | |||

real array | (:) | (IN) |
| Argument of length Npart, specifying the |

real array, `(:,:)`

, (IN)

Position of particles

integer, , (IN)

Number of particles

real array, `(3)`

, (IN)

Weights for the tree cost contributions: particles, mesh, geometry for finding the cut

real array, `(:,:)`

, (IN)

Minimum coordinate of the boxes

real array, `(:,:)`

, (IN)

Maximum coordinate of the boxes

integer, , (IN)

ID of box to be cut

integer, , (IN)

Number of cut directions

real array, `(3)`

, (IN)

Minimum box size required in all spatial directions

integer array, `(:)`

, (IN)

Cut directions

real array, `(:)`

, no intent declared

Positions of best cuts. index: 1..ncut.

integer, , (OUT)

Return status, 0 on success

real array, `(:)`

, (IN)

Argument of length Npart, specifying the computational cost of each particle.

ppm_module_data, ppm_module_error, ppm_module_substop, ppm_module_data_tree, ppm_module_write, ppm_module_substart