Commit 612c0a9f authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Fix Test after refactoring

parent 169174b9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ class TestDistributedGridIO{

        SharedPointer<MeshType> gridptr;
        SharedPointer<MeshFunctionType> meshFunctionptr;
        distrgrid.SetupGrid(*gridptr);
        distrgrid.setupGrid(*gridptr);
       
        DofType dof(gridptr->template getEntitiesCount< Cell >());
        dof.setValue(0);
@@ -332,7 +332,7 @@ class TestDistributedGridIO{
        //Crete "distributedgrid driven" grid filed by load
        SharedPointer<MeshType> loadGridptr;
        SharedPointer<MeshFunctionType> loadMeshFunctionptr;
        distrgrid.SetupGrid(*loadGridptr);
        distrgrid.setupGrid(*loadGridptr);
        
        DofType loadDof(loadGridptr->template getEntitiesCount< Cell >());
        loadDof.setValue(0);
@@ -346,7 +346,7 @@ class TestDistributedGridIO{
        //Crete "distributedgrid driven" grid filed by evaluated linear function
        SharedPointer<MeshType> gridptr;
        SharedPointer<MeshFunctionType> meshFunctionptr;
        distrgrid.SetupGrid(*gridptr);
        distrgrid.setupGrid(*gridptr);
        
        DofType dof(gridptr->template getEntitiesCount< Cell >());
        dof.setValue(-1);
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ class DistributedGirdTest_1D : public ::testing::Test {
    distrgrid=new DistributedMeshType();
    distrgrid->template setGlobalGrid<CommunicatorType>(globalGrid,overlap);
    
    distrgrid->SetupGrid(*gridptr);
    distrgrid->setupGrid(*gridptr);
    dof=new DofType(gridptr->template getEntitiesCount< Cell >());
    
    meshFunctionptr->bind(gridptr,*dof);
+1 −1
Original line number Diff line number Diff line
@@ -406,7 +406,7 @@ class DistributedGirdTest_2D : public ::testing::Test {
    distr[1]=3;
    distrgrid->template setGlobalGrid<CommunicatorType>(globalGrid,overlap, distr);
    
    distrgrid->SetupGrid(*gridptr);
    distrgrid->setupGrid(*gridptr);
    dof=new DofType(gridptr->template getEntitiesCount< Cell >());
    
    meshFunctionptr->bind(gridptr,*dof);
+1 −1
Original line number Diff line number Diff line
@@ -650,7 +650,7 @@ class DistributedGirdTest_3D : public ::testing::Test {
    distr[2]=3;
    distrgrid->template setGlobalGrid<CommunicatorType>(globalGrid,overlap,distr);
    
    distrgrid->SetupGrid(*gridptr);
    distrgrid->setupGrid(*gridptr);
    dof=new DofType(gridptr->template getEntitiesCount< Cell >());
    
    meshFunctionptr->bind(gridptr,*dof);   
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ int main ( int argc, char *argv[])
 MeshFunctionEvaluator< MeshFunctionType, LinearFunctionType > linearFunctionEvaluator;
 MeshFunctionEvaluator< MeshFunctionType, ConstFunctionType > constFunctionEvaluator;
 
  distrgrid.SetupGrid(*gridptr);
  distrgrid.setupGrid(*gridptr);
  
  DofType dof(gridptr->template getEntitiesCount< Cell >());

Loading