PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
cartesianmesh2d_yperiodic.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 (CartesainMeshTest2D_YPeriodic, check_dim)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_min)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_max)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_n)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_periodic)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_coord)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_dL)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_UN)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_pN)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_da)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_nProc)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_bg)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_ed)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_m)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_UNLocal)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_pNLocal)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_UPack)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_mpi)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_getLocalIndex_ijk)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_getNaturalIndex_ijk)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_getGlobalIndex_ijk_internal)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_getGlobalIndex_ijk_ghosts)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_getPackedGlobalIndex_ijk_internal)
 
 TEST_F (CartesainMeshTest2D_YPeriodic, check_getPackedGlobalIndex_ijk_ghost)
 

Detailed Description

Unit-tests for the class CartesianMesh.

License
BSD 3-Clause License.

Definition in file cartesianmesh2d_yperiodic.cpp.

Function Documentation

◆ TEST_F() [1/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_bg   
)

Definition at line 340 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [2/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_coord   
)

Definition at line 180 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [3/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_da   
)

Definition at line 296 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [4/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_dim   
)

Definition at line 139 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [5/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_dL   
)

Definition at line 232 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [6/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_ed   
)

Definition at line 360 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [7/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_getGlobalIndex_ijk_ghosts   
)

Definition at line 709 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [8/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_getGlobalIndex_ijk_internal   
)

Definition at line 588 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [9/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_getLocalIndex_ijk   
)

Definition at line 456 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [10/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_getNaturalIndex_ijk   
)

Definition at line 495 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [11/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_getPackedGlobalIndex_ijk_ghost   
)

Definition at line 963 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [12/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_getPackedGlobalIndex_ijk_internal   
)

Definition at line 789 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [13/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_m   
)

Definition at line 383 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [14/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_max   
)

Definition at line 150 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [15/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_min   
)

Definition at line 142 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [16/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_mpi   
)

Definition at line 440 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [17/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_n   
)

Definition at line 158 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [18/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_nProc   
)

Definition at line 323 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [19/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_periodic   
)

Definition at line 168 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [20/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_pN   
)

Definition at line 289 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [21/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_pNLocal   
)

Definition at line 410 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [22/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_UN   
)

Definition at line 282 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [23/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_UNLocal   
)

Definition at line 403 of file cartesianmesh2d_yperiodic.cpp.

◆ TEST_F() [24/24]

TEST_F ( CartesainMeshTest2D_YPeriodic  ,
check_UPack   
)

Definition at line 417 of file cartesianmesh2d_yperiodic.cpp.