suanPan
Loading...
Searching...
No Matches
TestMatrix.cpp File Reference
#include <Domain/MetaMat/MetaMat>
#include "CatchHeader.h"
Include dependency graph for TestMatrix.cpp:

Functions

template<typename MT , std::invocable T>
void test_mat_solve (MT &A, const vec &D, const vec &C, T clear_mat)
 
template<typename MT , std::invocable T>
void benchmark_mat_solve (string &&title, MT &A, const vec &C, const vec &E, T &&clear_mat)
 
template<typename T >
void benchmark_mat_setup (const int I)
 
 TEST_CASE ("Mixed Precision", "[Matrix.Benchmark]")
 
 TEST_CASE ("FullMat", "[Matrix.Dense]")
 
 TEST_CASE ("SymmPackMat", "[Matrix.Dense]")
 
 TEST_CASE ("BandMat", "[Matrix.Dense]")
 
 TEST_CASE ("BandMatSpike", "[Matrix.Dense]")
 
 TEST_CASE ("BandSymmMat", "[Matrix.Dense]")
 
 TEST_CASE ("SparseMatSuperLU", "[Matrix.Sparse]")
 
 TEST_CASE ("SparseMatMUMPS", "[Matrix.Sparse]")
 
 TEST_CASE ("Triplet/CSR/CSC Sparse", "[Matrix.Sparse]")
 
 TEST_CASE ("Benchmark Triplet Assembly", "[Matrix.Sparse]")
 
 TEST_CASE ("Triplet/CSR/CSC Conversion", "[Matrix.Sparse]")
 
 TEST_CASE ("Benchmark Triplet Measure", "[Matrix.Sparse]")
 
template<typename T >
void test_dense_mat_unify (T A)
 
template<typename T >
void test_sparse_mat_unify (T A)
 
 TEST_CASE ("Unify FullMat", "[Matrix.Utility]")
 
 TEST_CASE ("Unify BandMat", "[Matrix.Utility]")
 
 TEST_CASE ("Unify BandSymmMat", "[Matrix.Utility]")
 
 TEST_CASE ("Unify BandMatSpike", "[Matrix.Utility]")
 
 TEST_CASE ("Unify SymmPackMat", "[Matrix.Utility]")
 
 TEST_CASE ("Unify SparseMatSuperLU", "[Matrix.Utility]")
 
 TEST_CASE ("Unify SparseMatMUMPS", "[Matrix.Utility]")
 

Function Documentation

◆ benchmark_mat_setup()

template<typename T >
void benchmark_mat_setup ( const int  I)
Here is the call graph for this function:

◆ benchmark_mat_solve()

template<typename MT , std::invocable T>
void benchmark_mat_solve ( string &&  title,
MT &  A,
const vec &  C,
const vec &  E,
T &&  clear_mat 
)
Here is the caller graph for this function:

◆ TEST_CASE() [1/19]

TEST_CASE ( "BandMat"  ,
""  [Matrix.Dense] 
)
Here is the call graph for this function:

◆ TEST_CASE() [2/19]

TEST_CASE ( "BandMatSpike"  ,
""  [Matrix.Dense] 
)
Here is the call graph for this function:

◆ TEST_CASE() [3/19]

TEST_CASE ( "BandSymmMat"  ,
""  [Matrix.Dense] 
)
Here is the call graph for this function:

◆ TEST_CASE() [4/19]

TEST_CASE ( "Benchmark Triplet Assembly"  ,
""  [Matrix.Sparse] 
)
Here is the call graph for this function:

◆ TEST_CASE() [5/19]

TEST_CASE ( "Benchmark Triplet Measure"  ,
""  [Matrix.Sparse] 
)
Here is the call graph for this function:

◆ TEST_CASE() [6/19]

TEST_CASE ( "FullMat"  ,
""  [Matrix.Dense] 
)
Here is the call graph for this function:

◆ TEST_CASE() [7/19]

TEST_CASE ( "Mixed Precision"  ,
""  [Matrix.Benchmark] 
)

◆ TEST_CASE() [8/19]

TEST_CASE ( "SparseMatMUMPS"  ,
""  [Matrix.Sparse] 
)
Here is the call graph for this function:

◆ TEST_CASE() [9/19]

TEST_CASE ( "SparseMatSuperLU"  ,
""  [Matrix.Sparse] 
)
Here is the call graph for this function:

◆ TEST_CASE() [10/19]

TEST_CASE ( "SymmPackMat"  ,
""  [Matrix.Dense] 
)
Here is the call graph for this function:

◆ TEST_CASE() [11/19]

TEST_CASE ( "Triplet/CSR/CSC Conversion"  ,
""  [Matrix.Sparse] 
)
Here is the call graph for this function:

◆ TEST_CASE() [12/19]

TEST_CASE ( "Triplet/CSR/CSC Sparse"  ,
""  [Matrix.Sparse] 
)
Here is the call graph for this function:

◆ TEST_CASE() [13/19]

TEST_CASE ( "Unify BandMat"  ,
""  [Matrix.Utility] 
)
Here is the call graph for this function:

◆ TEST_CASE() [14/19]

TEST_CASE ( "Unify BandMatSpike"  ,
""  [Matrix.Utility] 
)
Here is the call graph for this function:

◆ TEST_CASE() [15/19]

TEST_CASE ( "Unify BandSymmMat"  ,
""  [Matrix.Utility] 
)
Here is the call graph for this function:

◆ TEST_CASE() [16/19]

TEST_CASE ( "Unify FullMat"  ,
""  [Matrix.Utility] 
)
Here is the call graph for this function:

◆ TEST_CASE() [17/19]

TEST_CASE ( "Unify SparseMatMUMPS"  ,
""  [Matrix.Utility] 
)
Here is the call graph for this function:

◆ TEST_CASE() [18/19]

TEST_CASE ( "Unify SparseMatSuperLU"  ,
""  [Matrix.Utility] 
)
Here is the call graph for this function:

◆ TEST_CASE() [19/19]

TEST_CASE ( "Unify SymmPackMat"  ,
""  [Matrix.Utility] 
)
Here is the call graph for this function:

◆ test_dense_mat_unify()

template<typename T >
void test_dense_mat_unify ( T  A)
Here is the caller graph for this function:

◆ test_mat_solve()

template<typename MT , std::invocable T>
void test_mat_solve ( MT &  A,
const vec &  D,
const vec &  C,
T  clear_mat 
)
Here is the caller graph for this function:

◆ test_sparse_mat_unify()

template<typename T >
void test_sparse_mat_unify ( T  A)
Here is the caller graph for this function: