-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganized source folders and cleaning
Created folders src/corePDEs src/demoPDEs and move corresponding evaluators and problems to these folders. Removed files that were not used
- Loading branch information
Showing
329 changed files
with
248 additions
and
1,422 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
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
##*****************************************************************// | ||
## Albany 3.0: Copyright 2016 Sandia Corporation // | ||
## This Software is released under the BSD license detailed // | ||
## in the file "license.txt" in the top-level Albany directory // | ||
##*****************************************************************// | ||
|
||
|
||
set(SOURCES | ||
problems/Albany_CoreProblemFactory.cpp | ||
problems/Albany_HeatProblem.cpp | ||
problems/Albany_PopulateMesh.cpp | ||
problems/Albany_SideLaplacianProblem.cpp | ||
evaluators/PHAL_HeatEqResid.cpp | ||
evaluators/PHAL_SideLaplacianResidual.cpp | ||
evaluators/PHAL_ThermalConductivity.cpp | ||
) | ||
|
||
set(HEADERS | ||
problems/Albany_CoreProblemFactory.hpp | ||
problems/Albany_HeatProblem.hpp | ||
problems/Albany_PopulateMesh.hpp | ||
problems/Albany_SideLaplacianProblem.hpp | ||
evaluators/PHAL_HeatEqResid.hpp | ||
evaluators/PHAL_HeatEqResid_Def.hpp | ||
evaluators/PHAL_SideLaplacianResidual.hpp | ||
evaluators/PHAL_SideLaplacianResidual_Def.hpp | ||
evaluators/PHAL_ThermalConductivity.hpp | ||
evaluators/PHAL_ThermalConductivity_Def.hpp | ||
) | ||
|
||
add_library(corePDEs ${Albany_LIBRARY_TYPE} ${SOURCES}) | ||
set_target_properties(corePDEs PROPERTIES PUBLIC_HEADER "${HEADERS}") | ||
target_link_libraries(corePDEs PUBLIC albanyLib) | ||
if (ALBANY_SUPPRESS_TRILINOS_WARNINGS) | ||
target_include_directories(corePDEs SYSTEM PUBLIC | ||
"${Trilinos_INCLUDE_DIRS};${Trilinos_TPL_INCLUDE_DIRS}") | ||
else() | ||
target_include_directories(corePDEs PUBLIC | ||
"${Trilinos_INCLUDE_DIRS};${Trilinos_TPL_INCLUDE_DIRS}") | ||
endif() | ||
|
||
set (COREPDES_INCLUDE_DIRS | ||
${ALBANY_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/evaluators | ||
${CMAKE_CURRENT_SOURCE_DIR}/problems | ||
) | ||
|
||
target_include_directories(corePDEs PUBLIC | ||
"$<BUILD_INTERFACE:${COREPDES_INCLUDE_DIRS}>" | ||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>) | ||
|
||
install(TARGETS corePDEs EXPORT albany-export | ||
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/" | ||
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}/" | ||
PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
//*****************************************************************// | ||
// Albany 3.0: Copyright 2016 Sandia Corporation // | ||
// This Software is released under the BSD license detailed // | ||
// in the file "license.txt" in the top-level Albany directory // | ||
//*****************************************************************// | ||
|
||
#ifndef ALBANY_CORE_PROBLEM_FACTORY_HPP | ||
#define ALBANY_CORE_PROBLEM_FACTORY_HPP | ||
|
||
#include "Albany_ProblemFactory.hpp" | ||
|
||
namespace Albany { | ||
|
||
// A concrete problem factory class for basic albany problems | ||
class CoreProblemFactory : public ProblemFactory | ||
{ | ||
public: | ||
obj_ptr_type create (const std::string& key, | ||
const Teuchos::RCP<const Teuchos_Comm>& comm, | ||
const Teuchos::RCP<Teuchos::ParameterList>& topLevelParams, | ||
const Teuchos::RCP<ParamLib>& paramLib) const; | ||
|
||
bool provides (const std::string& key) const; | ||
|
||
static CoreProblemFactory& instance () { | ||
static CoreProblemFactory factory; | ||
return factory; | ||
} | ||
|
||
protected: | ||
|
||
//! Default constructor | ||
CoreProblemFactory () = default; | ||
}; | ||
|
||
} // namespace Albany | ||
|
||
#endif // ALBANY_PROBLEM_FACTORY_HPP |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.