diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a0693d564438ece97e0e9bebc7262bf189a337d4..ebd21c1a26e184136b41d35d1091ba519e885f62 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ To contribute use a merge request as follows: - Run the tests. - Write or adapt tests as needed. - Add or change the documentation as needed. -- Push your branch to your fork on gitea, the remote `origin`. +- Push your branch to your fork on gitlab, the remote `origin`. - From your fork open a merge request in the correct branch. Target the project's `develop` or `open_source` branch - … - If we requests further changes just push them to your branch. The MR will be updated automatically. diff --git a/src/gpu/VirtualFluids_GPU/Output/FileWriter.cpp b/src/gpu/VirtualFluids_GPU/Output/FileWriter.cpp index a554d63cccbb9a2622f0bbffa143c8a586b88f44..ba8bac5939460c35c76a1ecbb378d2d69423c014 100644 --- a/src/gpu/VirtualFluids_GPU/Output/FileWriter.cpp +++ b/src/gpu/VirtualFluids_GPU/Output/FileWriter.cpp @@ -92,18 +92,18 @@ void VIRTUALFLUIDS_GPU_EXPORT FileWriter::writeCollectionFile(std::shared_ptr<Pa file.open( filename + ".pvtu" ); ////////////////////////////////////////////////////////////////////////// - - file << "<VTKFile type=\"PUnstructuredGrid\" version=\"1.0\" byte_order=\"LittleEndian\" header_type=\"UInt64\">" << std::endl; + file << "<?xml version=\"1.0\"?>" << std::endl; + file << "<VTKFile type=\"PUnstructuredGrid\" version=\"0.1\" byte_order=\"LittleEndian\">" << std::endl; file << " <PUnstructuredGrid GhostLevel=\"1\">" << std::endl; file << " <PPointData>" << std::endl; - file << " <DataArray type=\"Float32\" Name=\"press\" /> " << std::endl; - file << " <DataArray type=\"Float32\" Name=\"rho\" /> " << std::endl; - file << " <DataArray type=\"Float32\" Name=\"vx1\" /> " << std::endl; - file << " <DataArray type=\"Float32\" Name=\"vx2\" /> " << std::endl; - file << " <DataArray type=\"Float32\" Name=\"vx3\" /> " << std::endl; - file << " <DataArray type=\"Float32\" Name=\"geo\" /> " << std::endl; - if( para->getDiffOn() ) file << " <DataArray type=\"Float32\" Name=\"conc\" /> " << std::endl; + file << " <PDataArray type=\"Float64\" Name=\"press\" /> " << std::endl; + file << " <PDataArray type=\"Float64\" Name=\"rho\" /> " << std::endl; + file << " <PDataArray type=\"Float64\" Name=\"vx1\" /> " << std::endl; + file << " <PDataArray type=\"Float64\" Name=\"vx2\" /> " << std::endl; + file << " <PDataArray type=\"Float64\" Name=\"vx3\" /> " << std::endl; + file << " <PDataArray type=\"Float64\" Name=\"geo\" /> " << std::endl; + if( para->getDiffOn() ) file << " <PDataArray type=\"Float64\" Name=\"conc\" /> " << std::endl; file << " </PPointData>" << std::endl; file << " <PPoints>" << std::endl;