Skip to content

Commit

Permalink
Merge Pull Request trilinos#7106 from cgcgcg/Trilinos/maxwellTest
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: MueLu Maxwell test: Spring cleaning
PR Author: cgcgcg
  • Loading branch information
trilinos-autotester authored Apr 2, 2020
2 parents 055011d + 7c89e7e commit a8c3c0c
Show file tree
Hide file tree
Showing 3 changed files with 470 additions and 570 deletions.
18 changes: 18 additions & 0 deletions packages/muelu/test/maxwell/Belos.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<ParameterList name="Belos">
<ParameterList name="Block CG">
<Parameter name="Output Frequency" type="int" value="1"/>
<Parameter name="Output Style" type="int" value="1"/>
<Parameter name="Verbosity" type="int" value="33"/>
<Parameter name="Implicit Residual Scaling" type="string" value="None"/>
<Parameter name="Explicit Residual Scaling" type="string" value="None"/>
<Parameter name="Explicit Residual Test" type="bool" value="true"/>
</ParameterList>
<ParameterList name="Block GMRES">
<Parameter name="Output Frequency" type="int" value="1"/>
<Parameter name="Output Style" type="int" value="1"/>
<Parameter name="Verbosity" type="int" value="33"/>
<Parameter name="Implicit Residual Scaling" type="string" value="None"/>
<Parameter name="Explicit Residual Scaling" type="string" value="None"/>
<Parameter name="Explicit Residual Test" type="bool" value="true"/>
</ParameterList>
</ParameterList>
7 changes: 4 additions & 3 deletions packages/muelu/test/maxwell/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
ASSERT_DEFINED(
${PACKAGE_NAME}_ENABLE_Amesos2
${PACKAGE_NAME}_ENABLE_Belos
${PACKAGE_NAME}_ENABLE_ML
)

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
Expand Down Expand Up @@ -29,7 +30,7 @@ IF (${PACKAGE_NAME}_ENABLE_Belos AND ${PACKAGE_NAME}_ENABLE_Amesos2)
NUM_MPI_PROCS 4
)

IF (${PACKAGE_NAME}_ENABLE_ML AND ${PACKAGE_NAME}_ENABLE_EPETRA)
IF (${PACKAGE_NAME}_ENABLE_ML AND ${PACKAGE_NAME}_ENABLE_Epetra)
TRIBITS_ADD_TEST(
Maxwell3D
NAME "Maxwell3D-Tpetra-ML-list"
Expand Down Expand Up @@ -59,7 +60,7 @@ IF (${PACKAGE_NAME}_ENABLE_Belos AND ${PACKAGE_NAME}_ENABLE_Amesos2)
NUM_MPI_PROCS 4
)

IF (${PACKAGE_NAME}_ENABLE_ML AND ${PACKAGE_NAME}_HAVE_EPETRA_SOLVER_STACK AND (NOT Xpetra_INT_LONG_LONG))
IF (${PACKAGE_NAME}_ENABLE_ML)
TRIBITS_ADD_TEST(
Maxwell3D
NAME "Maxwell3D-ML"
Expand All @@ -72,7 +73,7 @@ IF (${PACKAGE_NAME}_ENABLE_Belos AND ${PACKAGE_NAME}_ENABLE_Amesos2)


TRIBITS_COPY_FILES_TO_BINARY_DIR(Maxwell_cp
SOURCE_FILES M0.mat M1.mat S.mat D0.mat coords.mat Maxwell.xml Maxwell_ML.xml Maxwell_ML_MueLu.xml Maxwell_ML1.xml
SOURCE_FILES M0.mat M1.mat S.mat D0.mat coords.mat Belos.xml Maxwell.xml Maxwell_ML.xml Maxwell_ML_MueLu.xml Maxwell_ML1.xml
)

IF(HAVE_MUELU_COMPLEX)
Expand Down
Loading

0 comments on commit a8c3c0c

Please sign in to comment.