-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move more definitions to abstract_types.jl
- Loading branch information
Showing
3 changed files
with
32 additions
and
13 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 |
---|---|---|
|
@@ -9,4 +9,30 @@ abstract type AbstractSemidiscretization end | |
abstract type AbstractEquations{NDIMS, NVARS} end | ||
|
||
|
||
# abstract supertype of specific SBP bases such as a Lobatto-Legendre nodal basis | ||
abstract type AbstractBasisSBP{RealT<:Real} end | ||
|
||
|
||
# abstract supertype of mortar methods, e.g. using L² projections | ||
abstract type AbstractMortar{RealT<:Real} end | ||
|
||
# abstract supertype of mortar methods using L² projection | ||
# which will be specialized for different SBP bases | ||
abstract type MortarL2{RealT<:Real} <: AbstractMortar{RealT} end | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ranocha
Author
Member
|
||
|
||
|
||
# abstract supertype of functionality related to the analysis of | ||
# numerical solutions, e.g. the calculation of errors | ||
abstract type SolutionAnalyzer{RealT<:Real} end | ||
|
||
|
||
# abstract supertype of grid-transfer methods used for AMR, | ||
# e.g. refinement and coarsening based on L² projections | ||
abstract type AdaptorAMR{RealT<:Real} end | ||
|
||
# abstract supertype of AMR grid-transfer operations using L² projections | ||
# which will be specialized for different SBP bases | ||
abstract type AdaptorL2{RealT<:Real} <: AdaptorAMR{RealT} end | ||
|
||
|
||
# TODO: Taal decide, which abstract types shall be defined here? |
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
To remain consistent (and to make finding things easier), we should probably decide on a consistent strategy on whether to prefix abstract types with
Abstract
, or maybe if there are certain classes of cases where we should do it and some where we don't (e.g., to avoid confusion with concrete types). What do you think @ranocha ?