@brief Type to store 3D quadrature grid @author Vladimir Mironov
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=fp), | public, | allocatable | :: | x(:) | |||
real(kind=fp), | public, | allocatable | :: | y(:) | |||
real(kind=fp), | public, | allocatable | :: | z(:) | |||
real(kind=fp), | public, | allocatable | :: | w(:) | |||
integer, | public | :: | nPts | = | 0 | ||
integer, | public | :: | idGrid | = | 0 | ||
integer(kind=2), | public, | allocatable | :: | izones(:,:) |
@brief Set 3D grid data @param[in] npts number of points @param[in] x x coordinates @param[in] y y coordinates @param[in] z z coordinates @param[in] w weights @param[in] izones tesselation data @author Vladimir Mironov
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_3d_t), | intent(inout) | :: | grid | |||
integer, | intent(in) | :: | npts | |||
real(kind=fp), | intent(in) | :: | x(:) | |||
real(kind=fp), | intent(in) | :: | y(:) | |||
real(kind=fp), | intent(in) | :: | z(:) | |||
real(kind=fp), | intent(in) | :: | w(:) | |||
integer, | intent(in) | :: | izones(:,:) |
@brief Get 3D grid data @param[in] npts number of points @param[out] x x coordinates @param[out] y y coordinates @param[out] z z coordinates @param[out] w weights @param[out] izones tesselation data @author Vladimir Mironov
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_3d_t), | intent(in) | :: | grid | |||
integer, | intent(out) | :: | npts | |||
real(kind=fp), | intent(out) | :: | x(:) | |||
real(kind=fp), | intent(out) | :: | y(:) | |||
real(kind=fp), | intent(out) | :: | z(:) | |||
real(kind=fp), | intent(out) | :: | w(:) | |||
integer, | intent(out) | :: | izones(:,:) |
@brief Check if it is the grid you are looking for. @param[in] npts number of points @author Vladimir Mironov
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_3d_t) | :: | grid | ||||
integer, | intent(in) | :: | npts |
@brief Destroy grid @author Vladimir Mironov
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(grid_3d_t), | intent(inout) | :: | grid |