This routine dumps a set of nodes and triangles to disc.
The nodes and their connectivity are passed to the routine. The normals are passed optional or calculated internally. The outputfile name is composed of the $outprefix,$time,'.stl'.
: This routine is a testing routine each process will dump all of its nodes in a seperate file (this may include outdated data as well)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | outprefix | output prefix for the filename |
||
real(kind=rk), | intent(in) | :: | nodes(:) | nodes to be dumped (size: 3*nNodes) |
||
integer, | intent(in) | :: | triangles(:,:) | triangles to be dumped (size: 3, nTrias) |
||
type(tem_comm_env_type), | intent(in) | :: | proc | process description to use |
||
character(len=80), | intent(in), | optional | :: | header | optional header to be dumped |
|
real(kind=rk), | intent(in), | optional | :: | normals(:,:) | optional array of normals, if not passed normals will be calculated internally |
|
type(tem_time_type), | intent(in), | optional | :: | time | optional simulation time to be appended to the filename |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=single_k), | private | :: | loc_normals(3,size(triangles,2)) | ||||
integer, | private | :: | iTria | ||||
real(kind=rk), | private | :: | a(3) | ||||
real(kind=rk), | private | :: | b(3) | ||||
character(len=PathLen), | private | :: | filename | ||||
integer, | private | :: | outUnit | ||||
character(len=80), | private | :: | loc_header | ||||
character(len=2), | private | :: | attribute | ||||
integer, | private | :: | iError | ||||
character(len=12), | private | :: | timeStamp | ||||
integer, | private | :: | minPos1 | ||||
integer, | private | :: | maxPos1 | ||||
integer, | private | :: | minPos2 | ||||
integer, | private | :: | maxPos2 | ||||
integer, | private | :: | minPos3 | ||||
integer, | private | :: | maxPos3 | ||||
real(kind=rk), | private, | allocatable | :: | dump_nodes(:) | |||
integer, | private | :: | nEntries | ||||
real(kind=rk), | private | :: | huge_real | ||||
logical, | private | :: | validTria | ||||
type(grw_int2darray_type), | private | :: | dump_trias | ||||
integer, | private | :: | iPoint |