Pressio / pressio

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

ops: tpetra: `scale` implementation and tests #560

Closed mzuzek closed 1 year ago

mzuzek commented 1 year ago

refs #445

Overloads

Tpetra overloads of pressio::ops::scale:

function input remarks
scale Tpetra 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.vector_scale Tpetra::Vector<>
ops_tpetra_multi_vector.cc tpetraMultiVectorGlobSize15Fixture.multi_vector_scale Tpetra::MultiVector<>
mzuzek commented 1 year ago

@fnrizzi thank you for the review!