amg_mkb/test/amg/RSCFSplitterTest.cpp File Reference

#include <boost/test/included/unit_test.hpp>
#include "../../amg/RSCFSplitter.hpp"
#include "petscmat.h"
Include dependency graph for RSCFSplitterTest.cpp:

Defines

#define BOOST_TEST_MODULE   RSCFSplitterTest

Functions

void prepare_matrix (Mat *matrix, double *values, int size, int *row_numbers, int *column_numbers)
 BOOST_AUTO_TEST_CASE (RSCFSplitterTestSplitting)
 BOOST_AUTO_TEST_CASE (RSCFSplitterTestCoarse)
 BOOST_AUTO_TEST_CASE (RSCFSplitterTestUnsymmetric)
 BOOST_AUTO_TEST_CASE (RSCFSplitterTestFFDependencies)

Variables

FILE * utv_log_out = stdout
int row_numbers [] = {0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,6,6,6,6,6,6,6}
int column_numbers [] = {0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6}
double values []
double values2 []
double values3 []
double interpolation_matrix []
int row_numbers2 [] = {0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5}
int column_numbers2 [] = {0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5}
double values4 []

Define Documentation

#define BOOST_TEST_MODULE   RSCFSplitterTest

Function Documentation

BOOST_AUTO_TEST_CASE ( RSCFSplitterTestFFDependencies   ) 

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( RSCFSplitterTestUnsymmetric   ) 

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( RSCFSplitterTestCoarse   ) 

Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( RSCFSplitterTestSplitting   ) 

Here is the call graph for this function:

void prepare_matrix ( Mat *  matrix,
double *  values,
int  size,
int *  row_numbers,
int *  column_numbers 
)

Variable Documentation

int column_numbers[] = {0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6}
int column_numbers2[] = {0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5}
Initial value:
 {9.2307692308, 10.7692307692,
                                3.5555555556, 4.4444444444,
                                2, 2.6666666667,
                                2.1111111111, 2.6388888889,
                                2.4, 2.8,
                                1.0, 0.0,
                                0.0, 1.0}
int row_numbers[] = {0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,6,6,6,6,6,6,6}
int row_numbers2[] = {0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5}
double values[]
Initial value:
 {-2.0,6.0,-6.0,8.0,-10.0,12.0,-10.0,
                    6.0,-10.0,12.0,-10.0,8.0,-6.0,6.0,
                    -6.0,12.0,6.0,-6.0,8.0,-10.0,12.0,
                    8.0,-10.0,-6.0,-10.0,8.0,-6.0,6.0,
                    -10.0,8.0,8.0,8.0,6.0,-6.0,8.0,
                    12.0,-6.0,-10.0,-6.0,-6.0,8.0,-6.0,
                    -10.0,6.0,12.0,6.0,8.0,-6.0,-6.0}
double values2[]
Initial value:
 {2.0,-2.0,6.0,-8.0,-10.0,-12.0,-14.0,
                    -2.0,4.0,-2.0,-4.0,-6.0,-8.0,-10.0,
                    -6.0,-2.0,6.0,-2.0,-4.0,-6.0,-8.0,
                    -8.0,-4.0,-2.0,8.0,-6.0,-8.0,-10.0,
                    -10.0,-6.0,-4.0,-6.0,10.0,-12.0,-14.0,
                    -12.0,-8.0,-6.0,-8.0,-12.0,12.0,-6.0,
                    -14.0,-10.0,-8.0,-10.0,-14.0,-6.0,14.0}
double values3[]
Initial value:
 {2.0,-1.0,-5.0,-8.0,-7.0,-3.0,-2.0,
                    -5.0,4.0,-6.0,-1.0,-3.0,-7.0,-9.0,
                    -2.0,-3.0,6.0,-5.0,-6.0,-6.0,-3.0,
                    -7.0,-7.0,-3.0,8.0,-2.0,-3.0,-8.0,
                    -2.0,-6.0,-4.0,-1.0,10.0,-9.0,-2.0,
                    -6.0,-7.0,-4.0,-2.0,-5.0,12.0,-4.0,
                    -2.0,-5.0,-2.0,-8.0,-1.0,-3.0,14.0}
double values4[]
Initial value:
 {1.0,-9.0,1.0,1.0,1.0,-6.0,
                    1.0,1.0,1.0,1.0,1.0,1.0,
                    1.0,-9.0,1.0,-6.0,1.0,1.0,
                    1.0,1.0,-6.0,1.0,-9.0,1.0,
                    1.0,1.0,1.0,1.0,1.0,1.0,
                    -6.0,1.0,1.0,1.0,-9.0,1.0}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1