openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Classes | Functions
test_ginkgo.cpp File Reference
#include <stdio.h>
#include <iostream>
#include <random>
#include <string>
#include <mpi.h>
#include <ginkgo/ginkgo.hpp>
#include "../fem/slimfem/src/SF_base.h"
#include "electrics.cc"
#include "../../physics/electric.cc"
#include <math.h>
#include <tuple>
Include dependency graph for test_ginkgo.cpp:

Go to the source code of this file.

Classes

class  TestGinkgo
 

Functions

class TestGinkgo main (int argc, char **argv)
 
void fill_matrices_same_random (SF::abstract_matrix< int, double > &mat1, SF::abstract_matrix< int, double > &mat2)
 
std::tuple< auto, auto > generate_random_petsc_ginkgo_matrices ()
 
void assertTrue (bool cond_bool, std::string str)
 

Function Documentation

◆ assertTrue()

void main::assertTrue ( bool  cond_bool,
std::string  str 
)

Definition at line 273 of file test_ginkgo.cpp.

◆ fill_matrices_same_random()

void main::fill_matrices_same_random ( SF::abstract_matrix< int, double > &  mat1,
SF::abstract_matrix< int, double > &  mat2 
)

Definition at line 218 of file test_ginkgo.cpp.

◆ generate_random_petsc_ginkgo_matrices()

std::tuple<auto, auto> main::generate_random_petsc_ginkgo_matrices ( )

Definition at line 241 of file test_ginkgo.cpp.

◆ main()

class TestGinkgo main ( int  argc,
char **  argv 
)

Definition at line 101 of file test_ginkgo.cpp.