-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PyTrilinos2: Add Thyra and Stratimikos
Signed-off-by: Christian Glusa <[email protected]>
- Loading branch information
Showing
17 changed files
with
618 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
|
||
MACRO(PyTrilinos2_MAKE_MPI_TEST TEST_NAME) | ||
|
||
FILE(COPY ${CMAKE_CURRENT_SOURCE_DIR}/${TEST_NAME}.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) | ||
|
||
TRIBITS_ADD_TEST( | ||
${Python3_EXECUTABLE} | ||
NOEXEPREFIX | ||
NOEXESUFFIX | ||
NAME ${TEST_NAME} | ||
ARGS "${TEST_NAME}.py" | ||
PASS_REGULAR_EXPRESSION "OK" | ||
ENVIRONMENT "PYTHONPATH=${PyTrilinos2_PYTHONPATH}" | ||
ENVIRONMENT "PYTHONPATH=${PyTrilinos2_PYTHONPATH}:$ENV{PYTHONPATH}" | ||
${ARGN} | ||
) | ||
|
||
TRIBITS_COPY_FILES_TO_BINARY_DIR(${TEST_NAME}_cp | ||
SOURCE_FILES ${TEST_NAME}.py | ||
CATEGORIES BASIC) | ||
|
||
ENDMACRO(PyTrilinos2_MAKE_MPI_TEST TEST_NAME) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef PYTILINOS2_CONFIG_HPP | ||
#define PYTILINOS2_CONFIG_HPP | ||
|
||
#cmakedefine HAVE_PYTRILINOS2_MUELU | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
INCLUDE(PyTrilinos2MakeTest) | ||
|
||
PyTrilinos2_MAKE_MPI_TEST(exampleCG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ | |
__version__ = '0.1.0' | ||
def version(): | ||
return 'PyTrilinos2 version: ' + __version__ | ||
|
||
from . PyTrilinos2 import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.