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
6d607a52
Commit
6d607a52
authored
10 years ago
by
Tobias Leibner
Browse files
Options
Downloads
Patches
Plain Diff
[spaces.cg.fem] remove definitions of dims from Traits, refs
#14
parent
c1d701fe
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/continuouslagrange/fem.hh
+11
-8
11 additions, 8 deletions
dune/gdt/spaces/continuouslagrange/fem.hh
with
11 additions
and
8 deletions
dune/gdt/spaces/continuouslagrange/fem.hh
+
11
−
8
View file @
6d607a52
...
...
@@ -50,25 +50,23 @@ public:
typedef
typename
GridPartType
::
GridViewType
GridViewType
;
static
const
int
polOrder
=
polynomialOrder
;
static_assert
(
polOrder
>=
1
,
"Wrong polOrder given!"
);
static
const
unsigned
int
dimDomain
=
GridPartType
::
dimension
;
private:
typedef
typename
GridPartType
::
ctype
DomainFieldType
;
static
const
unsigned
int
dimDomain
=
GridPartType
::
dimension
;
public:
typedef
RangeFieldImp
RangeFieldType
;
static
const
unsigned
int
dimRange
=
rangeDim
;
static
const
unsigned
int
dimRangeCols
=
rangeDimCols
;
private:
typedef
Dune
::
Fem
::
FunctionSpace
<
DomainFieldType
,
RangeFieldType
,
dimDomain
,
dimR
ange
>
FunctionSpaceType
;
typedef
Dune
::
Fem
::
FunctionSpace
<
DomainFieldType
,
RangeFieldType
,
dimDomain
,
r
ange
Dim
>
FunctionSpaceType
;
public:
typedef
Dune
::
Fem
::
LagrangeDiscreteFunctionSpace
<
FunctionSpaceType
,
GridPartType
,
polOrder
>
BackendType
;
typedef
Mapper
::
FemDofWrapper
<
typename
BackendType
::
BlockMapperType
,
1
>
MapperType
;
typedef
typename
GridPartType
::
template
Codim
<
0
>
::
EntityType
EntityType
;
typedef
BaseFunctionSet
::
FemWrapper
<
typename
BackendType
::
ShapeFunctionSetType
,
EntityType
,
DomainFieldType
,
dimDomain
,
RangeFieldType
,
dimRange
,
dimR
angeCols
>
BaseFunctionSetType
;
dimDomain
,
RangeFieldType
,
rangeDim
,
r
ange
Dim
Cols
>
BaseFunctionSetType
;
static
const
Stuff
::
Grid
::
ChoosePartView
part_view_type
=
Stuff
::
Grid
::
ChoosePartView
::
part
;
static
const
bool
needs_grid_view
=
false
;
typedef
CommunicationChooser
<
GridViewType
,
false
>
CommunicationChooserType
;
...
...
@@ -93,10 +91,15 @@ public:
typedef
typename
Traits
::
GridViewType
GridViewType
;
static
const
int
polOrder
=
Traits
::
polOrder
;
typedef
typename
GridPartType
::
ctype
DomainFieldType
;
static
const
unsigned
int
dimDomain
=
GridPartType
::
dimension
;
static
const
unsigned
int
dimDomain
=
BaseType
::
dimDomain
;
private:
static_assert
(
GridPartType
::
dimension
==
dimDomain
,
"Dimension of GridPart has to match dimDomain"
);
public:
typedef
typename
Traits
::
RangeFieldType
RangeFieldType
;
static
const
unsigned
int
dimRange
=
Traits
::
dimRange
;
static
const
unsigned
int
dimRangeCols
=
Traits
::
dimRangeCols
;
static
const
unsigned
int
dimRange
=
BaseType
::
dimRange
;
static
const
unsigned
int
dimRangeCols
=
BaseType
::
dimRangeCols
;
typedef
typename
Traits
::
BackendType
BackendType
;
typedef
typename
Traits
::
MapperType
MapperType
;
...
...
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