test_driver_part.cc File Reference
#include <iostream>
#include <memory>
#include "gtest/gtest.h"
#include "wonton/mesh/jali/jali_mesh_wrapper.h"
#include "wonton/state/jali/jali_state_wrapper.h"
#include "portage/search/search_kdtree.h"
#include "portage/intersect/intersect_r2d.h"
#include "portage/interpolate/interpolate_1st_order.h"
#include "portage/interpolate/interpolate_2nd_order.h"
#include "portage/driver/coredriver.h"
#include "Mesh.hh"
#include "MeshFactory.hh"
#include "JaliStateVector.h"
#include "JaliState.h"

Classes

class  PartBaseTest
 Base fixture class for any order part-by-part remap tests. More...
 
class  PartOrderOneTest
 Fixture class for first-order remap tests. More...
 
class  PartOrderTwoTest
 Fixture class for second-order remap tests. More...
 

Functions

 TEST_F (PartOrderOneTest, PiecewiseConstantField)
 
 TEST_F (PartOrderOneTest, GlobalRemapComparison)
 
 TEST_F (PartOrderTwoTest, PiecewiseLinearField)
 

Function Documentation

◆ TEST_F() [1/3]

TEST_F ( PartOrderOneTest  ,
PiecewiseConstantField   
)

verify that first-order part-by-part remap is strictly conservative for a piecewise constant field in absence of mismatch between source and target parts.

◆ TEST_F() [2/3]

TEST_F ( PartOrderOneTest  ,
GlobalRemapComparison   
)

verify that both first-order part-by-part and global remap are equivalent for first-order interpolation of general fields. in absence of mismatch between source and target parts.

◆ TEST_F() [3/3]

TEST_F ( PartOrderTwoTest  ,
PiecewiseLinearField   
)

verify that second-order part-by-part remap is strictly conservative for a piecewise linear field in absence of mismatch between source and target parts. Notice that no gradient limiter is used here.