Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vtk_file), | intent(inout) | :: | self |
function finalize(self) result(error)
!< Finalize file (writer).
class(vtk_file), intent(inout) :: self !< VTK file.
integer(I4P) :: error !< Error status.
character(len=:), allocatable :: xml_volatile !< XML volatile file.
error = 1
if (allocated(self%xml_writer)) error = self%xml_writer%finalize()
endfunction finalize