Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-gdt
Commits
aa95101c
Unverified
Commit
aa95101c
authored
7 years ago
by
René Fritze
Browse files
Options
Downloads
Patches
Plain Diff
[spaces/test] compile fixes for new spaces
parent
ba6762ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/gdt/spaces/mapper/fv.hh
+1
-1
1 addition, 1 deletion
dune/gdt/spaces/mapper/fv.hh
dune/gdt/test/spaces/base.hh
+2
-3
2 additions, 3 deletions
dune/gdt/test/spaces/base.hh
with
3 additions
and
4 deletions
dune/gdt/spaces/mapper/fv.hh
+
1
−
1
View file @
aa95101c
...
...
@@ -104,7 +104,7 @@ public:
size_t
size
()
const
{
return
dimRange
*
mapper_
.
size
();
return
dimRange
*
mapper_
->
size
();
}
template
<
int
cd
,
class
GridImp
,
template
<
int
,
int
,
class
>
class
EntityImp
>
...
...
This diff is collapsed.
Click to expand it.
dune/gdt/test/spaces/base.hh
+
2
−
3
View file @
aa95101c
...
...
@@ -355,7 +355,8 @@ public:
static
const
size_t
i_dimRangeCols
=
InterfaceType
::
dimRangeCols
;
typedef
typename
InterfaceType
::
RangeType
I_RangeType
;
typedef
typename
InterfaceType
::
JacobianRangeType
I_JacobianRangeType
;
static_assert
(
std
::
is_same
<
derived_type
,
BaseFunctionSetType
>::
value
,
"Types do not match!"
);
//! TODO no longer true for new spaces?
// static_assert(std::is_same<derived_type, BaseFunctionSetType>::value, "Types do not match!");
static_assert
(
std
::
is_same
<
I_BackendType
,
D_BackendType
>::
value
,
"Types do not match!"
);
static_assert
(
std
::
is_same
<
I_EntityType
,
D_EntityType
>::
value
,
"Types do not match!"
);
static_assert
(
std
::
is_same
<
I_DomainFieldType
,
D_DomainFieldType
>::
value
,
"Types do not match!"
);
...
...
@@ -386,8 +387,6 @@ public:
// the size has already been checked in fulfills_interface() above
// * as the interface
InterfaceType
&
i_base_function_set
=
static_cast
<
InterfaceType
&>
(
d_base_function_set
);
const
I_BackendType
&
i_backend
=
i_base_function_set
.
backend
();
EXPECT_EQ
(
&
d_backend
,
&
i_backend
);
size_t
i_order
=
i_base_function_set
.
order
();
EXPECT_EQ
(
i_order
,
d_order
);
}
// walk the grid
...
...
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