-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Elliptic DG: support modifying boundary data
This is used to solve for different variables in some regions of the domain to absorb singularities.
- Loading branch information
Showing
12 changed files
with
278 additions
and
43 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
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,24 @@ | ||
// Distributed under the MIT License. | ||
// See LICENSE.txt for details. | ||
|
||
#pragma once | ||
|
||
#include <type_traits> | ||
|
||
#include "Utilities/TMPL.hpp" | ||
|
||
namespace elliptic { | ||
namespace detail { | ||
struct NoModifyBoundaryData { | ||
using argument_tags = tmpl::list<>; | ||
}; | ||
} // namespace detail | ||
|
||
/// The `argument_tags` of the `System::modify_boundary_data`, or an empty list | ||
/// if `System::modify_boundary_data` is `void`. | ||
template <typename System> | ||
using get_modify_boundary_data_args_tags = typename tmpl::conditional_t< | ||
std::is_same_v<typename System::modify_boundary_data, void>, | ||
detail::NoModifyBoundaryData, | ||
typename System::modify_boundary_data>::argument_tags; | ||
} // namespace elliptic |
Oops, something went wrong.