Pressio / pressio

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

ops: tpetra-block: `min`/`max` implementation and tests #555

Closed mzuzek closed 1 year ago

mzuzek commented 1 year ago

refs #447

Overloads

Block Tpetra overloads of pressio::ops::min and pressio::ops::max:

function input remarks
min
max
Tpetra block vector or multi-vector 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_vector.cc ops_tpetra_block.vector_min_max Tpetra::BlockVector<>
ops_tpetra_multi_vector.cc tpetraBlockMultiVectorGlobSize15NVec3BlockSize4Fixture.multi_vector_min_max Tpetra::BlockMultiVector<>