/[escript]
ViewVC logotype

Revision 2141


Jump to revision: Previous Next
Author: caltinay
Date: Tue Dec 9 04:32:32 2008 UTC (10 years, 5 months ago)
Changed paths: 1
Log Message:
saveVTK: Reviewed and changed parts of this function due to several issues.
Confirmed that it's still working using finley/test/python/generate_dumps.py
(manually inserted saveVTK) with and without MPI on 1 and 4 processors.

Changes include:
- removed unnecessary USE_VTK check - we are not using any VTK functions
- fixed writing of Rec9 & Hex27 connectivity data in MPI mode
- fixed some cases where the file was not closed and memory was not freed
- replaced many instances of fprintf by fputs (simple strings)
- some minor optimizations by moving or initializing variables and combining
  if-clauses
- got rid of ~300 lines of code and switched to consistent indentation making
  the file a bit better readable



Changed paths

Path Details
Directorytrunk/finley/src/Mesh_saveVTK.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.26