Skip to content

Commit

Permalink
default integration rules for lineintegral, surfaceintegral, and …
Browse files Browse the repository at this point in the history
…`volumeintegral`
  • Loading branch information
JoshuaLampert authored Sep 26, 2024
1 parent 1032805 commit a76adb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/integral_aliases.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Rule types available:
function lineintegral(
f::F,
geometry::G,
rule::I;
rule::I = GaussKronrod();
kwargs...
) where {F <: Function, G <: Meshes.Geometry, I <: IntegrationRule}
N = Meshes.paramdim(geometry)
Expand Down Expand Up @@ -48,7 +48,7 @@ Algorithm types available:
function surfaceintegral(
f::F,
geometry::G,
rule::I;
rule::I = HAdaptiveCubature();
kwargs...
) where {F <: Function, G <: Meshes.Geometry, I <: IntegrationRule}
N = Meshes.paramdim(geometry)
Expand Down Expand Up @@ -79,7 +79,7 @@ Algorithm types available:
function volumeintegral(
f::F,
geometry::G,
rule::I;
rule::I = HAdaptiveCubature();
kwargs...
) where {F <: Function, G <: Meshes.Geometry, I <: IntegrationRule}
N = Meshes.paramdim(geometry)
Expand Down

0 comments on commit a76adb7

Please sign in to comment.