checkComponent: improve output

as this is called multiple times for a component
we get duplicate output. improve by also including the
Evaluation template parameters in the output.
This commit is contained in:
Arne Morten Kvarving 2023-05-25 21:42:51 +02:00
parent 69aaf44fd2
commit 180f34dea7

View File

@ -41,7 +41,9 @@
template <class Component, class Evaluation>
void checkComponent()
{
std::cout << "Testing component '" << Opm::demangle(typeid(Component).name()) << "'\n";
std::cout << "Testing component '"
<< Opm::demangle(typeid(Component).name()) << "', Evaluation='"
<< Opm::demangle(typeid(Evaluation).name()) << "'\n";
// make sure the necessary typedefs exist
typedef typename Component::Scalar Scalar;