Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
trixi-framework
GitHub Repository: trixi-framework/Trixi.jl
Path: blob/main/src/solvers/dgsem/containers.jl
5591 views
1
# By default, Julia/LLVM does not use fused multiply-add operations (FMAs).
2
# Since these FMAs can increase the performance of many numerical algorithms,
3
# we need to opt-in explicitly.
4
# See https://ranocha.de/blog/Optimizing_EC_Trixi for further details.
5
@muladd begin
6
#! format: noindent
7
8
abstract type AbstractElementContainer <: AbstractContainer end
9
function nelements end
10
11
abstract type AbstractInterfaceContainer <: AbstractContainer end
12
function ninterfaces end
13
abstract type AbstractMPIInterfaceContainer <: AbstractContainer end
14
function nmpiinterfaces end
15
16
abstract type AbstractBoundaryContainer <: AbstractContainer end
17
function nboundaries end
18
19
abstract type AbstractMortarContainer <: AbstractContainer end
20
function nmortars end
21
abstract type AbstractMPIMortarContainer <: AbstractContainer end
22
function nmpimortars end
23
24
abstract type AbstractNormalVectorContainer <: AbstractContainer end
25
end # @muladd
26
27