NexGenAnalytics / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
0 stars 2 forks source link

Rol: Epetra tests survey #139

Open tlamonthezie opened 1 year ago

tlamonthezie commented 1 year ago

In the Rol package, with required dependency on Tpetra and optional dependency on Epetra, determine how many Epetra tests do not have Tpetra equivalents (if any).

Related https://github.com/NexGenAnalytics/Trilinos/issues/50

tlamonthezie commented 1 year ago

In the Rol package there seems to be 2 epetra tests (EpetraSROMSampleGenerator and EpetraMultiVectorInterface) that could be created as Tpetra tests if needed. Note also that: example/PDE-OPT/0ld directory contains some old epetra tests no more included in CMakeLists.txt This package do not use TEUCHOS_UNIT_TEST internally in its tests.

In the Rol package we can find Epetra dependent tests at adapters/epetra/test: Epetra Test Name Test File (main) in CMakeLists Has Tpetra equivalent ?
EpetraBatchManagerInterface adapters/epetra/test/sol/test_01.cpp NO NO
EpetraSROMSampleGenerator adapters/epetra/test/sol/test_02.cpp YES NO
EpetraMultiVectorInterface adapters/epetra/test/vector/test_02.cpp YES NO
But we can also find Tpetra tests even if it is not apparently (not same name) the same tests: Tpetra Test Name Test File (main) in CMakeLists
TpetraBoundConstraintInterface adapters/tpetra/test/function/test_01.cpp YES
TpetraSimulatedConstraintInterface adapters/tpetra/test/sol/test_01.cpp YES
TpetraSimulatedConstraintInterfaceCVaR adapters/tpetra/test/sol/test_02.cpp YES
TpetraSimulatedConstraintInterfaceDual adapters/tpetra/test/sol/test_03.cpp YES