Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sander, Oliver
dune-gfe
Commits
8ee80a96
Commit
8ee80a96
authored
6 years ago
by
Sander, Oliver
Browse files
Options
Downloads
Patches
Plain Diff
Switch to modern style of GeometryType construction
parent
4a37faa6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#1209
failed
6 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/averagedistanceassemblertest.cc
+1
-1
1 addition, 1 deletion
test/averagedistanceassemblertest.cc
test/localgfetestfunctiontest.cc
+1
-4
1 addition, 4 deletions
test/localgfetestfunctiontest.cc
with
2 additions
and
5 deletions
test/averagedistanceassemblertest.cc
+
1
−
1
View file @
8ee80a96
...
@@ -66,7 +66,7 @@ void testWeightSet(const std::vector<TargetSpace>& corners,
...
@@ -66,7 +66,7 @@ void testWeightSet(const std::vector<TargetSpace>& corners,
int
quadOrder
=
3
;
int
quadOrder
=
3
;
const
Dune
::
QuadratureRule
<
double
,
dim
>&
quad
const
Dune
::
QuadratureRule
<
double
,
dim
>&
quad
=
Dune
::
QuadratureRules
<
double
,
dim
>::
rule
(
GeometryType
(
GeometryType
::
simplex
,
dim
),
quadOrder
);
=
Dune
::
QuadratureRules
<
double
,
dim
>::
rule
(
GeometryType
s
::
simplex
(
dim
),
quadOrder
);
for
(
size_t
pt
=
0
;
pt
<
quad
.
size
();
pt
++
)
{
for
(
size_t
pt
=
0
;
pt
<
quad
.
size
();
pt
++
)
{
...
...
This diff is collapsed.
Click to expand it.
test/localgfetestfunctiontest.cc
+
1
−
4
View file @
8ee80a96
...
@@ -40,15 +40,12 @@ void test()
...
@@ -40,15 +40,12 @@ void test()
PQkLocalFiniteElementCache
<
double
,
double
,
domainDim
,
1
>
feCache
;
PQkLocalFiniteElementCache
<
double
,
double
,
domainDim
,
1
>
feCache
;
typedef
typename
PQkLocalFiniteElementCache
<
double
,
double
,
domainDim
,
1
>::
FiniteElementType
LocalFiniteElement
;
typedef
typename
PQkLocalFiniteElementCache
<
double
,
double
,
domainDim
,
1
>::
FiniteElementType
LocalFiniteElement
;
GeometryType
simplex
;
simplex
.
makeSimplex
(
domainDim
);
for
(
int
i
=
0
;
i
<
numIndices
;
i
++
,
++
index
)
{
for
(
int
i
=
0
;
i
<
numIndices
;
i
++
,
++
index
)
{
for
(
int
j
=
0
;
j
<
domainDim
+
1
;
j
++
)
for
(
int
j
=
0
;
j
<
domainDim
+
1
;
j
++
)
coefficients
[
j
]
=
testPoints
[
index
[
j
]];
coefficients
[
j
]
=
testPoints
[
index
[
j
]];
LocalGfeTestFunctionFiniteElement
<
LocalFiniteElement
,
TargetSpace
>
testFunctionSet
(
feCache
.
get
(
simplex
),
coefficients
);
LocalGfeTestFunctionFiniteElement
<
LocalFiniteElement
,
TargetSpace
>
testFunctionSet
(
feCache
.
get
(
GeometryTypes
::
simplex
(
domainDim
)
),
coefficients
);
FieldVector
<
double
,
domainDim
>
stupidTestPoint
(
0
);
FieldVector
<
double
,
domainDim
>
stupidTestPoint
(
0
);
...
...
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