This module provides the routine that subdivides tree boxes.

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

Subroutines contained in this interface:

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

This routine cuts a box into 2, 4 or 8 pieces using | |

This routine cuts a box into 2, 4 or 8 pieces using |

This routine cuts a box into 2, 4 or 8 pieces using the given cut directions and cut positions.

Note | |
---|---|

The routine only works for ncut=1, 2, or 3. |

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

real array | (:,:) | (IN) | Positions of the points. | ||

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

real array | (:) | (IN) | Minimum coordinates of the box to be cut. | ||

real array | (:) | (IN) | Maximum coordinates of the box to be cut. | ||

integer | (IN) | Number of cuts to apply | |||

integer array | (:) | (IN) | Directions of the cuts. cutdir(1)=2 means that the first | ||

real array | (:) | (IN) | Positions of the cuts along the given axes. | ||

real array | (:,:) | Minimum coordinates of the cut boxes. | |||

real array | (:,:) | Maximum coordinates of the cut boxes. | |||

integer array | (:) | Pointer to the first point (in lpdx) in each sub-box. This is | |||

integer array | (:) | Index of particles in sub-boxes. This is only allocated and returned | |||

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

real array, `(:,:)`

, (IN)

Positions of the points.

integer, , (IN)

ID of the box to be cut.

real array, `(:)`

, (IN)

Minimum coordinates of the box to be cut.

real array, `(:)`

, (IN)

Maximum coordinates of the box to be cut.

integer, , (IN)

Number of cuts to apply

integer array, `(:)`

, (IN)

Directions of the cuts. cutdir(1)=2 means that the first cut is perpendicular to the second coordinate axis (y axis).

real array, `(:)`

, (IN)

Positions of the cuts along the given axes.

real array, `(:,:)`

, no intent declared

Minimum coordinates of the cut boxes.

1st: x,y[,z] 2nd: ibox.

real array, `(:,:)`

, no intent declared

Maximum coordinates of the cut boxes.

1st: x,y[,z] 2nd: ibox.

integer array, `(:)`

, no intent declared

Pointer to the first point (in lpdx) in each sub-box. This is only allocated and returned if there are particles at all.

integer array, `(:)`

, no intent declared

Index of particles in sub-boxes. This is only allocated and returned if there are particles at all.

integer, , (OUT)

Return status, 0 on success

ppm_module_data, ppm_module_error, ppm_module_alloc, ppm_module_substop, ppm_module_data_tree, ppm_module_write, ppm_module_substart

This routine cuts a box into 2, 4 or 8 pieces using the given cut directions and cut positions.

Note | |
---|---|

The routine only works for ncut=1, 2, or 3. |

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

real array | (:,:) | (IN) | Positions of the points. | ||

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

real array | (:) | (IN) | Minimum coordinates of the box to be cut. | ||

real array | (:) | (IN) | Maximum coordinates of the box to be cut. | ||

integer | (IN) | Number of cuts to apply | |||

integer array | (:) | (IN) | Directions of the cuts. cutdir(1)=2 means that the first | ||

real array | (:) | (IN) | Positions of the cuts along the given axes. | ||

real array | (:,:) | Minimum coordinates of the cut boxes. | |||

real array | (:,:) | Maximum coordinates of the cut boxes. | |||

integer array | (:) | Pointer to the first point (in lpdx) in each sub-box. This is | |||

integer array | (:) | Index of particles in sub-boxes. This is only allocated and returned | |||

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

real array, `(:,:)`

, (IN)

Positions of the points.

integer, , (IN)

ID of the box to be cut.

real array, `(:)`

, (IN)

Minimum coordinates of the box to be cut.

real array, `(:)`

, (IN)

Maximum coordinates of the box to be cut.

integer, , (IN)

Number of cuts to apply

integer array, `(:)`

, (IN)

Directions of the cuts. cutdir(1)=2 means that the first cut is perpendicular to the second coordinate axis (y axis).

real array, `(:)`

, (IN)

Positions of the cuts along the given axes.

real array, `(:,:)`

, no intent declared

Minimum coordinates of the cut boxes.

1st: x,y[,z] 2nd: ibox.

real array, `(:,:)`

, no intent declared

Maximum coordinates of the cut boxes.

1st: x,y[,z] 2nd: ibox.

integer array, `(:)`

, no intent declared

Pointer to the first point (in lpdx) in each sub-box. This is only allocated and returned if there are particles at all.

integer array, `(:)`

, no intent declared

Index of particles in sub-boxes. This is only allocated and returned if there are particles at all.

integer, , (OUT)

Return status, 0 on success

ppm_module_data, ppm_module_error, ppm_module_alloc, ppm_module_substop, ppm_module_data_tree, ppm_module_write, ppm_module_substart