Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change VTK file name template to remove t prefix in timestamps. #17

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules-local/fast-library/src/FAST_Subs.f90
Original file line number Diff line number Diff line change
Expand Up @@ -5192,7 +5192,7 @@ SUBROUTINE WrVTK_WaveElev(t_global, p_FAST, y_FAST, HD)
!.................................................................

! PolyData (.vtp) � Serial vtkPolyData (unstructured) file
FileName = TRIM(p_FAST%OutFileRoot)//'.WaveSurface.t'//TRIM(Num2LStr(y_FAST%VTK_count))//'.vtp'
FileName = TRIM(p_FAST%OutFileRoot)//'.WaveSurface.'//TRIM(Num2LStr(y_FAST%VTK_count))//'.vtp'

call WrVTK_header( FileName, NumberOfPoints, NumberOfLines, NumberOfPolys, Un, ErrStat2, ErrMsg2 )
if (ErrStat2 >= AbortErrLev) return
Expand Down
6 changes: 3 additions & 3 deletions modules-local/nwtc-library/src/ModMesh.f90
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ SUBROUTINE MeshWrVTK ( RefPoint, M, FileRootName, VTKcount, OutputFieldData, Err
!.................................................................

! PolyData (.vtp) � Serial vtkPolyData (unstructured) file
FileName = TRIM(FileRootName)//'.t'//TRIM(Num2LStr(VTKcount))//'.vtp'
FileName = TRIM(FileRootName)//'.'//TRIM(Num2LStr(VTKcount))//'.vtp'

call WrVTK_header( trim(FileName), M%Nnodes, M%ElemTable(ELEMENT_LINE2)%nelem, 0, Un, ErrStat2, ErrMsg2 )
call SetErrStat(ErrStat2,ErrMsg2,ErrStat,ErrMsg,RoutineName)
Expand Down Expand Up @@ -568,7 +568,7 @@ SUBROUTINE MeshWrVTK_Ln2Surface ( RefPoint, M, FileRootName, VTKcount, OutputFie
!.................................................................

! PolyData (.vtp) � Serial vtkPolyData (unstructured) file
FileName = TRIM(FileRootName)//'.t'//TRIM(Num2LStr(VTKcount))//'.vtp'
FileName = TRIM(FileRootName)//'.'//TRIM(Num2LStr(VTKcount))//'.vtp'

! Write a VTP mesh file (Polygonal VTK file) with positions and polygons (surfaces)
! (note alignment of WRITE statements to make sure spaces are lined up in XML file)
Expand Down Expand Up @@ -759,7 +759,7 @@ SUBROUTINE MeshWrVTK_PointSurface ( RefPoint, M, FileRootName, VTKcount, OutputF
!.................................................................

! PolyData (.vtp) � Serial vtkPolyData (unstructured) file
FileName = TRIM(FileRootName)//'.t'//TRIM(Num2LStr(VTKcount))//'.vtp'
FileName = TRIM(FileRootName)//'.'//TRIM(Num2LStr(VTKcount))//'.vtp'

! Write a VTP mesh file (Polygonal VTK file) with positions and polygons (surfaces)
! (note alignment of WRITE statements to make sure spaces are lined up in XML file)
Expand Down