Pressio / pressio

core C++ library
Other
45 stars 7 forks source link

ops: tpetra-block: revise `dot` overload constraints #572

Closed mzuzek closed 1 year ago

mzuzek commented 1 year ago

refs #524

Overloads

Block Tpetra dot overloads:

function input remarks
void dot(a, b, scalar)
scalar dot(a, b)
Tpetra block vectors requires underlying scalar type
to be known integral of floating-point type

Tests

Unit tests (in tests/functional_small/ops/):

file name test name tested type
ops_tpetra_block_vector.cc ops_tpetra_block.vector_dot Tpetra::BlockVector<>