From 7c8abd6c464e3eee8baeb025babfe585d99b547b Mon Sep 17 00:00:00 2001 From: "hanouvit@vz" <vithanousek@seznam.cz> Date: Sun, 6 May 2018 19:27:10 +0200 Subject: [PATCH] Experiment push for build at remonte --- src/UnitTests/SaveAndLoadMeshfunctionTest.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/UnitTests/SaveAndLoadMeshfunctionTest.cpp b/src/UnitTests/SaveAndLoadMeshfunctionTest.cpp index d18f532aae..5e21f17aac 100644 --- a/src/UnitTests/SaveAndLoadMeshfunctionTest.cpp +++ b/src/UnitTests/SaveAndLoadMeshfunctionTest.cpp @@ -13,6 +13,8 @@ #include "Mpi/Functions.h" +#include <iostream> + using namespace TNL::Containers; using namespace TNL::Meshes; using namespace TNL::Functions; @@ -53,12 +55,14 @@ class TestSaveAndLoadMeshfunction DofType localDof(localGridptr->template getEntitiesCount< Cell >()); + std::cout << localGridptr->GetDistMesh() <<std::endl; + SharedPointer<MeshFunctionType> localMeshFunctionptr; localMeshFunctionptr->bind(localGridptr,localDof); linearFunctionEvaluator.evaluateAllEntities(localMeshFunctionptr , linearFunctionPtr); File file; - file.open( String( "/tmp/test-file.tnl"), IOMode::write ); + file.open( String( "./test-file.tnl"), IOMode::write ); localMeshFunctionptr->save(file); file.close(); @@ -76,7 +80,7 @@ class TestSaveAndLoadMeshfunction loadDof[i]=-1; } - file.open( String( "/tmp/test-file.tnl" ), IOMode::read ); + file.open( String( "./test-file.tnl" ), IOMode::read ); loadMeshFunctionptr->boundLoad(file); file.close(); -- GitLab