gpusparse_matrix_utilities.hpp File Reference #include <opm/common/ErrorMacros.hpp> #include <opm/simulators/linalg/gpuistl/detail/cusparse_safe_call.hpp> #include <opm/simulators/linalg/gpuistl/detail/safe_conversion.hpp> #include <fmt/core.h> #include <memory> #include <vector> #include <cusparse.h>
Include dependency graph for gpusparse_matrix_utilities.hpp:
![]()
This graph shows which files directly or indirectly include this file:
![]() Go to the source code of this file.
Macro Definition Documentation◆ INSTANTIATE_FOR_TYPE_AND_CLASS
Value:
INSTANTIATE_SPARSE_MATRIX_DUNE_OPERATIONS(CLASS_NAME, T, 1); \
INSTANTIATE_SPARSE_MATRIX_DUNE_OPERATIONS(CLASS_NAME, T, 2); \
INSTANTIATE_SPARSE_MATRIX_DUNE_OPERATIONS(CLASS_NAME, T, 3); \
INSTANTIATE_SPARSE_MATRIX_DUNE_OPERATIONS(CLASS_NAME, T, 4); \
INSTANTIATE_SPARSE_MATRIX_DUNE_OPERATIONS(CLASS_NAME, T, 5); \
INSTANTIATE_SPARSE_MATRIX_DUNE_OPERATIONS(CLASS_NAME, T, 6)
#define INSTANTIATE_SPARSE_MATRIX_DUNE_OPERATIONS(CLASS_NAME, realtype, blockdim) Macro for generating template instantiations for DUNE matrix operations. Definition: gpusparse_matrix_utilities.hpp:231 Macro for generating template instantiations for a range of block sizes. ◆ INSTANTIATE_SPARSE_MATRIX_DUNE_OPERATIONS
Value:
template CLASS_NAME<realtype> CLASS_NAME<realtype>::fromMatrix( \
const Dune::BCRSMatrix<Dune::FieldMatrix<realtype, blockdim, blockdim>>&, bool); \
template CLASS_NAME<realtype> CLASS_NAME<realtype>::fromMatrix( \
template void CLASS_NAME<realtype>::updateNonzeroValues( \
const Dune::BCRSMatrix<Dune::FieldMatrix<realtype, blockdim, blockdim>>&, bool); \
template void CLASS_NAME<realtype>::updateNonzeroValues( \
Definition: matrixblock.hh:227 Macro for generating template instantiations for DUNE matrix operations. This macro generates the necessary explicit template instantiations for fromMatrix and updateNonzeroValues functions with DUNE matrix types. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||