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

Unit-tests for the discrete delta functions. More...

#include <algorithm>
#include <random>
#include <vector>
#include <petsc.h>
#include "gtest/gtest.h"
#include "petibm/delta.h"

Go to the source code of this file.

Functions

 TEST (deltaRomaEtAlTest, zeroOutside)
 
 TEST (deltaRomaEtAlTest, maximumValue)
 
 TEST (deltaRomaEtAlTest, decreasingInfluence)
 
int main (int argc, char **argv)
 

Detailed Description

Unit-tests for the discrete delta functions.

License
BSD 3-Clause License.

Definition in file delta_test.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 51 of file delta_test.cpp.

◆ TEST() [1/3]

TEST ( deltaRomaEtAlTest  ,
decreasingInfluence   
)

Definition at line 36 of file delta_test.cpp.

◆ TEST() [2/3]

TEST ( deltaRomaEtAlTest  ,
maximumValue   
)

Definition at line 29 of file delta_test.cpp.

◆ TEST() [3/3]

TEST ( deltaRomaEtAlTest  ,
zeroOutside   
)

Definition at line 21 of file delta_test.cpp.