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
88316334
Commit
88316334
authored
13 years ago
by
Oliver Sander
Committed by
sander@FU-BERLIN.DE
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
remove test for UnitVector<3> and use generic implementation instead
[[Imported from SVN: r8001]]
parent
bf5df9af
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/localgeodesicfefunctiontest.cc
+2
-33
2 additions, 33 deletions
test/localgeodesicfefunctiontest.cc
with
2 additions
and
33 deletions
test/localgeodesicfefunctiontest.cc
+
2
−
33
View file @
88316334
...
...
@@ -324,37 +324,6 @@ void testUnitVector2d()
}
template
<
int
domainDim
>
void
testUnitVector3d
()
{
std
::
cout
<<
" --- Testing UnitVector<3>, domain dimension: "
<<
domainDim
<<
" ---"
<<
std
::
endl
;
typedef
UnitVector
<
3
>
TargetSpace
;
std
::
vector
<
TargetSpace
>
testPoints
;
ValueFactory
<
TargetSpace
>::
get
(
testPoints
);
int
nTestPoints
=
testPoints
.
size
();
// Set up elements of S^2
std
::
vector
<
TargetSpace
>
corners
(
domainDim
+
1
);
MultiIndex
<
domainDim
+
1
>
index
(
nTestPoints
);
int
numIndices
=
index
.
cycle
();
for
(
int
i
=
0
;
i
<
numIndices
;
i
++
,
++
index
)
{
for
(
int
j
=
0
;
j
<
domainDim
+
1
;
j
++
)
corners
[
j
]
=
testPoints
[
index
[
j
]];
//testPermutationInvariance(corners);
testDerivative
<
domainDim
>
(
corners
);
testDerivativeOfValueWRTCoefficients
<
domainDim
>
(
corners
);
testDerivativeOfGradientWRTCoefficients
<
domainDim
>
(
corners
);
}
}
template
<
class
TargetSpace
,
int
domainDim
>
void
test
()
...
...
@@ -397,9 +366,9 @@ int main()
//testRealTuples<1>();
testUnitVector2d
<
1
>
();
testUnitVector
3d
<
1
>
();
test
<
UnitVector
<
3
>
,
1
>
();
testUnitVector2d
<
2
>
();
testUnitVector
3d
<
2
>
();
test
<
UnitVector
<
3
>
,
2
>
();
test
<
Rotation
<
3
,
double
>
,
1
>
();
test
<
Rotation
<
3
,
double
>
,
2
>
();
...
...
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