PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
cartesianmesh2d_dirichlet.cpp File Reference

Unit-tests for the class CartesianMesh. More...

#include <petsc.h>
#include <gtest/gtest.h>
#include <yaml-cpp/yaml.h>
#include <petibm/mesh.h>

Go to the source code of this file.

Functions

 TEST_F (CartesianMeshTest2D_AllDirichlet, check_dim)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_min)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_max)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_n)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_periodic)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_coord)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_dL)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_UN)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_pN)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_da)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_nProc)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_bg)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_ed)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_m)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_UNLocal)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_pNLocal)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_UPack)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_mpi)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_getLocalIndex_ijk)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_getNaturalIndex_ijk)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_getGlobalIndex_ijk_internal)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_getGlobalIndex_ijk_ghosts)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_getPackedGlobalIndex_ijk_internal)
 
 TEST_F (CartesianMeshTest2D_AllDirichlet, check_getPackedGlobalIndex_ijk_ghost)
 

Detailed Description

Unit-tests for the class CartesianMesh.

License
BSD 3-Clause License.

Definition in file cartesianmesh2d_dirichlet.cpp.

Function Documentation

◆ TEST_F() [1/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_bg   
)

Definition at line 331 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [2/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_coord   
)

Definition at line 171 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [3/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_da   
)

Definition at line 287 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [4/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_dim   
)

Definition at line 130 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [5/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_dL   
)

Definition at line 223 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [6/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_ed   
)

Definition at line 351 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [7/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_getGlobalIndex_ijk_ghosts   
)

Definition at line 695 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [8/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_getGlobalIndex_ijk_internal   
)

Definition at line 574 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [9/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_getLocalIndex_ijk   
)

Definition at line 447 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [10/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_getNaturalIndex_ijk   
)

Definition at line 486 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [11/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_getPackedGlobalIndex_ijk_ghost   
)

Definition at line 944 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [12/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_getPackedGlobalIndex_ijk_internal   
)

Definition at line 769 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [13/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_m   
)

Definition at line 374 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [14/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_max   
)

Definition at line 141 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [15/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_min   
)

Definition at line 133 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [16/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_mpi   
)

Definition at line 431 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [17/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_n   
)

Definition at line 149 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [18/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_nProc   
)

Definition at line 314 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [19/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_periodic   
)

Definition at line 159 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [20/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_pN   
)

Definition at line 280 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [21/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_pNLocal   
)

Definition at line 401 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [22/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_UN   
)

Definition at line 273 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [23/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_UNLocal   
)

Definition at line 394 of file cartesianmesh2d_dirichlet.cpp.

◆ TEST_F() [24/24]

TEST_F ( CartesianMeshTest2D_AllDirichlet  ,
check_UPack   
)

Definition at line 408 of file cartesianmesh2d_dirichlet.cpp.