-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Pull Request #8825 from searhein/Trilinos/subdomain-solver
Automatically Merged using Trilinos Pull Request AutoTester PR Title: ShyLU_DD/FROSch: Replace FROSch::SubomainSolver by FROSch::SolverFactory PR Author: searhein
- Loading branch information
Showing
89 changed files
with
4,947 additions
and
633 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,4 @@ | |
|
||
#cmakedefine HAVE_SHYLU_DDFROSCH_ZOLTAN2 | ||
|
||
|
||
#cmakedefine HAVE_SHYLU_DDFROSCH_HDF5 |
80 changes: 80 additions & 0 deletions
80
packages/shylu/shylu_dd/frosch/src/Adapters/Stratimikos_FROSch_decl.hpp
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,80 @@ | ||
//@HEADER | ||
// ************************************************************************ | ||
// | ||
// ShyLU: Hybrid preconditioner package | ||
// Copyright 2012 Sandia Corporation | ||
// | ||
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, | ||
// the U.S. Government retains certain rights in this software. | ||
// | ||
// Redistribution and use in source and binary forms, with or without | ||
// modification, are permitted provided that the following conditions are | ||
// met: | ||
// | ||
// 1. Redistributions of source code must retain the above copyright | ||
// notice, this list of conditions and the following disclaimer. | ||
// | ||
// 2. Redistributions in binary form must reproduce the above copyright | ||
// notice, this list of conditions and the following disclaimer in the | ||
// documentation and/or other materials provided with the distribution. | ||
// | ||
// 3. Neither the name of the Corporation nor the names of the | ||
// contributors may be used to endorse or promote products derived from | ||
// this software without specific prior written permission. | ||
// | ||
// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY | ||
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE | ||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
// | ||
// Questions? Contact Alexander Heinlein ([email protected]) | ||
// | ||
// ************************************************************************ | ||
//@HEADER | ||
|
||
#ifndef _STRATIMIKOS_FROSCH_DECL_HPP | ||
#define _STRATIMIKOS_FROSCH_DECL_HPP | ||
|
||
#include <ShyLU_DDFROSch_config.h> | ||
|
||
#ifdef HAVE_SHYLU_DDFROSCH_STRATIMIKOS | ||
#include "Stratimikos_DefaultLinearSolverBuilder.hpp" | ||
|
||
#include "Teuchos_RCP.hpp" | ||
#include "Teuchos_ParameterList.hpp" | ||
#include "Teuchos_TestForException.hpp" | ||
#include "Teuchos_AbstractFactoryStd.hpp" | ||
|
||
|
||
namespace Thyra { | ||
|
||
template <class SC, | ||
class LO, | ||
class GO, | ||
class NO> | ||
class FROSchFactory; | ||
} | ||
|
||
namespace Stratimikos { | ||
|
||
using namespace std; | ||
using namespace Teuchos; | ||
using namespace Thyra; | ||
|
||
template <typename LO = int, | ||
typename GO = int, | ||
typename NO = KokkosClassic::DefaultNode::DefaultNodeType> | ||
void enableFROSch(DefaultLinearSolverBuilder& builder, | ||
const string& stratName = "FROSch"); | ||
} // namespace Stratimikos | ||
|
||
#endif | ||
|
||
#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
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.