This module contains periodic boundary definition and routines
initialize the dynamic array
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type), | intent(out) | :: | me | |||
| integer, | intent(in), | optional | :: | length | 
truncate the array, meaning cut off the trailing empty entries
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | 
empty the entries without changing arrays
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | 
destroy the dynamic array
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type), | intent(inout) | :: | me | 
insert an element at a given position
adds the value to a given position inside the growing array.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| type(sdr_PeriodicPlane_type), | intent(in) | :: | val | |||
| integer, | intent(in) | :: | pos | |||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
adds the values starting from a given position inside the growing array.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| type(sdr_PeriodicPlane_type), | intent(in) | :: | val(:) | |||
| integer, | intent(in) | :: | pos | |||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
append a value to the dynamic array and return its position.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| type(sdr_PeriodicPlane_type), | intent(in) | :: | val | |||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| type(sdr_PeriodicPlane_type), | intent(in) | :: | val(:) | |||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
increase the size of the container for the array.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| integer, | intent(in), | optional | :: | pos | ||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
type contains Periodic plane information
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(tem_plane_type), | private | :: | plane | intrinsic seeder plane | |||
| integer, | private | :: | oppPlane_pos | Position of opposite periodic plane in the spatial object list | 
growing array type for type(sdr_periodicplane_type)
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | nvals | = | 0 | ||
| integer, | private | :: | containersize | = | 0 | ||
| type(sdr_PeriodicPlane_type), | private, | allocatable | :: | val(:) | 
Function compute intersection of plane with cube by checking intersection of two triangle of a plane with cube
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(sdr_PeriodicPlane_type), | intent(in) | :: | periPlane | periodic plane to check intersection with cube | ||
| type(tem_cube_type), | intent(in) | :: | cube | 
\brief load periodic table from config file.\n
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type), | intent(inout) | :: | periArray | grwoing periodic plane data type | ||
| type(grw_spatialobjarray_type), | intent(inout) | :: | spaObjArray | growing array of geometrical objects. | ||
| integer, | intent(in) | :: | attr_pos | Position of the attribute to connect this object to. | ||
| type(tem_transformation_type), | intent(in) | :: | transform | transformation for spatial object | ||
| type(flu_state) | :: | conf | ||||
| integer, | intent(in) | :: | thandle | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type), | intent(out) | :: | me | |||
| integer, | intent(in), | optional | :: | length | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type), | intent(inout) | :: | me | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | 
adds the value to a given position inside the growing array.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| type(sdr_PeriodicPlane_type), | intent(in) | :: | val | |||
| integer, | intent(in) | :: | pos | |||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
adds the values starting from a given position inside the growing array.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| type(sdr_PeriodicPlane_type), | intent(in) | :: | val(:) | |||
| integer, | intent(in) | :: | pos | |||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| type(sdr_PeriodicPlane_type), | intent(in) | :: | val | |||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| type(sdr_PeriodicPlane_type), | intent(in) | :: | val(:) | |||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(grw_periplanearray_type) | :: | me | ||||
| integer, | intent(in), | optional | :: | pos | ||
| integer, | intent(in), | optional | :: | length | optional length to expand the array | 
This routine append periodic type to growing array of periodic
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(sdr_PeriodicPlane_type), | intent(in) | :: | periPlane | seeder periodic type | ||
| type(grw_periplanearray_type), | intent(inout) | :: | periArray | grwoing periodic plane data type | ||
| type(grw_spatialobjarray_type), | intent(inout) | :: | spaObjArray | growing array of geometrical objects. | ||
| integer, | intent(in) | :: | attr_pos | Position of the attribute to connect this object to. |