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

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

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

Go to the source code of this file.

Functions

 TEST_F (SingleBodyTest, initWithFilePath2D)
 
 TEST_F (SingleBodyTest, initWithFilePath3D)
 
 TEST_F (SingleBodyTest, findProc2D)
 
 TEST_F (SingleBodyTest, findProc3D)
 
 TEST_F (SingleBodyTest, getGlobalIndex2D)
 
 TEST_F (SingleBodyTest, getGlobalIndex3D)
 
 TEST_F (SingleBodyTest, calculateAvgForces2D)
 
 TEST_F (SingleBodyTest, calculateAvgForces3D)
 
int main (int argc, char **argv)
 

Detailed Description

Unit-tests for the class SingleBody.

License
BSD 3-Clause License.

Definition in file singlebody_test.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 229 of file singlebody_test.cpp.

◆ TEST_F() [1/8]

TEST_F ( SingleBodyTest  ,
calculateAvgForces2D   
)

Definition at line 202 of file singlebody_test.cpp.

◆ TEST_F() [2/8]

TEST_F ( SingleBodyTest  ,
calculateAvgForces3D   
)

Definition at line 215 of file singlebody_test.cpp.

◆ TEST_F() [3/8]

TEST_F ( SingleBodyTest  ,
findProc2D   
)

Definition at line 146 of file singlebody_test.cpp.

◆ TEST_F() [4/8]

TEST_F ( SingleBodyTest  ,
findProc3D   
)

Definition at line 158 of file singlebody_test.cpp.

◆ TEST_F() [5/8]

TEST_F ( SingleBodyTest  ,
getGlobalIndex2D   
)

Definition at line 170 of file singlebody_test.cpp.

◆ TEST_F() [6/8]

TEST_F ( SingleBodyTest  ,
getGlobalIndex3D   
)

Definition at line 186 of file singlebody_test.cpp.

◆ TEST_F() [7/8]

TEST_F ( SingleBodyTest  ,
initWithFilePath2D   
)

Definition at line 107 of file singlebody_test.cpp.

◆ TEST_F() [8/8]

TEST_F ( SingleBodyTest  ,
initWithFilePath3D   
)

Definition at line 124 of file singlebody_test.cpp.