<div dir="ltr"><div>Hi!<br><br></div><div>Last week I was polishing my code to make it more organized. <br></div><div>I have been working on: <br></div> 1)Remove the main function from file psurface_convert_test.cpp, and put the code into psurface_convert.cpp<br>
<br> 2) Correcting the augment and return type of functions.<br>    There are methods that return bool, but they always return the same values. I correct the functions so they always return void. <br>    I used to use both char* and std::string as file name. Now I have changed all filename to std::string type. <br>
<br> 3) Devide PsurfaceConvert class into 3 separate class written in separate files, Hdf5IO , VTKIO and GmshIO. <br>    class Hdf5IO could read psurface and store it into hdf5 file format. We can display that hdf5 file through xdmf script. You can see both base grid triangles or the whole psurface by checking related boxed in paraview. It also have functions that read hdf5 file and create psurface object from that file. VTKIO could written psurface into xml vtu format so you can display it in paraview. GmshIO could read the triangles from gmsh file and construct the base grid psurface.  <br>
<br> 4) Remove duplicated data. <br>    The PSurfaceConvert class used to copy all the data of the PSurface object it holds. This waste storage and computational time. <br>    So I deleted these redundent data. Now Hdf5IO, VTKIO could read useful data directly from pusrface. <br>
<br> 5) Documentation. <br>There was documentation in the middle of the project. Now the code have changed a lot and I need to reorganize my document. I will push it to my git repository  before Sunday night. <br><br> Best,<br>
 Xiaoxue<br>   <br></div>