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
9cc51b00
Commit
9cc51b00
authored
6 years ago
by
Dr. Felix Tobias Schindler
Browse files
Options
Downloads
Patches
Plain Diff
[spaces] propose BochnerSpace
parent
2d9884c8
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
dune/gdt/spaces/bochner.hh
+55
-0
55 additions, 0 deletions
dune/gdt/spaces/bochner.hh
with
55 additions
and
0 deletions
dune/gdt/spaces/bochner.hh
0 → 100644
+
55
−
0
View file @
9cc51b00
// This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
// with "runtime exception" (http://www.dune-project.org/license.html)
// Authors:
// Felix Schindler (2018)
#ifndef DUNE_GDT_SPACES_BOCHNER_HH
#define DUNE_GDT_SPACES_BOCHNER_HH
#include
<dune/grid/onedgrid.hh>
#include
<dune/gdt/spaces/h1/continuous-lagrange.hh>
#include
"interface.hh"
namespace
Dune
{
namespace
GDT
{
template
<
class
GV
,
size_t
r
=
1
,
size_t
rC
=
1
,
class
R
=
double
>
class
BochnerSpace
{
public:
template
<
class
...
TemporalGridArgs
>
BochnerSpace
(
const
SpaceInterface
<
GV
,
r
,
rC
,
R
>&
spatial_space
,
TemporalGridArgs
&&
...
temporal_grid_args
)
:
spatial_space_
(
spatial_space
)
,
temporal_grid_
(
std
::
forward
<
TemporalGridArgs
>
(
temporal_grid_args
)...)
,
temporal_space_
(
temporal_grid_
.
leafGridView
())
{
}
const
ContinuousLagrangeSpace
<
typename
OneDGrid
::
LeafGridView
,
1
>&
temporal_space
()
const
{
return
temporal_space_
;
}
const
SpaceInterface
<
GV
,
r
,
rC
,
R
>&
spatial_space
()
const
{
return
spatial_space_
;
}
private
:
const
SpaceInterface
<
GV
,
r
,
rC
,
R
>&
spatial_space_
;
const
OneDGrid
temporal_grid_
;
const
ContinuousLagrangeSpace
<
typename
OneDGrid
::
LeafGridView
,
1
>
temporal_space_
;
};
// class BochnerSpace
}
// namespace GDT
}
// namespace Dune
#endif // DUNE_GDT_SPACES_BOCHNER_HH
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