Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Commits
2408aa31
Commit
2408aa31
authored
Oct 25, 2021
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Add formulae from Dunavant for triangles up to degree 20
parent
ede45867
No related branches found
No related tags found
1 merge request
!124
Add files for high order integration with quadratures
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/analysis/EconomicalGaussQuadrature.cpp
+2
-2
2 additions, 2 deletions
src/analysis/EconomicalGaussQuadrature.cpp
src/analysis/SimplicialGaussQuadrature.cpp
+408
-102
408 additions, 102 deletions
src/analysis/SimplicialGaussQuadrature.cpp
with
410 additions
and
104 deletions
src/analysis/EconomicalGaussQuadrature.cpp
+
2
−
2
View file @
2408aa31
...
...
@@ -24,7 +24,7 @@ EconomicalGaussQuadrature<2>::_buildPointAndWeightLists()
size_t
k
=
0
;
for
(
size_t
i
=
0
;
i
<
quadrature_group_list
.
size
();
++
i
)
{
auto
[
w
,
xi
,
eta
]
=
quadrature_group_list
[
i
];
const
auto
&
[
w
,
xi
,
eta
]
=
quadrature_group_list
[
i
];
if
(
xi
!=
eta
)
{
Assert
(
xi
!=
0
,
"quadrature group was not defined correctly"
);
if
(
eta
==
0
)
{
...
...
@@ -321,7 +321,7 @@ EconomicalGaussQuadrature<3>::_buildPointAndWeightLists()
size_t
k
=
0
;
for
(
size_t
i
=
0
;
i
<
quadrature_group_list
.
size
();
++
i
)
{
auto
[
w
,
xi
,
eta
,
zeta
]
=
quadrature_group_list
[
i
];
const
auto
&
[
w
,
xi
,
eta
,
zeta
]
=
quadrature_group_list
[
i
];
if
(
xi
==
eta
)
{
if
(
xi
==
zeta
)
{
if
(
xi
==
0
)
{
...
...
This diff is collapsed.
Click to expand it.
src/analysis/SimplicialGaussQuadrature.cpp
+
408
−
102
View file @
2408aa31
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment