Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
13584878
There was an error fetching the commit references. Please try again later.
Commit
13584878
authored
8 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetic changes
parent
979b495c
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
src/TNL/Meshes/MeshDetails/layers/MeshSuperentityAccess.h
+27
-27
27 additions, 27 deletions
src/TNL/Meshes/MeshDetails/layers/MeshSuperentityAccess.h
with
27 additions
and
27 deletions
src/TNL/Meshes/MeshDetails/layers/MeshSuperentityAccess.h
+
27
−
27
View file @
13584878
...
...
@@ -36,12 +36,12 @@ class MeshSuperentityAccess
EntityTopology
,
MeshDimensionsTag
<
MeshTraits
<
MeshConfig
>::
meshDimensions
>
>
{
typedef
MeshSuperentityAccessLayer
<
MeshConfig
,
EntityTopology
,
MeshDimensionsTag
<
MeshTraits
<
MeshConfig
>::
meshDimensions
>
>
BaseType
;
using
BaseType
=
MeshSuperentityAccessLayer
<
MeshConfig
,
EntityTopology
,
MeshDimensionsTag
<
MeshTraits
<
MeshConfig
>::
meshDimensions
>
>
;
static
const
int
Dimensions
=
MeshTraits
<
MeshConfig
>::
meshDimensions
;
typedef
MeshTraits
<
MeshConfig
>
MeshTraitsType
;
static
const
expr
int
Dimensions
=
MeshTraits
<
MeshConfig
>::
meshDimensions
;
using
MeshTraitsType
=
MeshTraits
<
MeshConfig
>
;
template
<
int
Superdimensions
>
using
SuperentityTraits
=
typename
MeshTraitsType
::
template
SuperentityTraits
<
EntityTopology
,
Superdimensions
>;
...
...
@@ -108,17 +108,17 @@ class MeshSuperentityAccessLayer< MeshConfig,
true
>
:
public
MeshSuperentityAccessLayer
<
MeshConfig
,
EntityTopology
,
typename
DimensionsTag
::
Decrement
>
{
typedef
MeshSuperentityAccessLayer
<
MeshConfig
,
EntityTopology
,
typename
DimensionsTag
::
Decrement
>
BaseType
;
using
BaseType
=
MeshSuperentityAccessLayer
<
MeshConfig
,
EntityTopology
,
typename
DimensionsTag
::
Decrement
>
;
typedef
MeshTraits
<
MeshConfig
>
MeshTraitsType
;
typedef
typename
MeshTraitsType
::
template
SuperentityTraits
<
EntityTopology
,
DimensionsTag
::
value
>
SuperentityTraitsType
;
using
MeshTraitsType
=
MeshTraits
<
MeshConfig
>
;
using
SuperentityTraitsType
=
typename
MeshTraitsType
::
template
SuperentityTraits
<
EntityTopology
,
DimensionsTag
::
value
>;
public:
typedef
typename
MeshTraitsType
::
IdArrayAccessorType
IdArrayAccessorType
;
typedef
typename
SuperentityTraitsType
::
GlobalIndexType
GlobalIndexType
;
typedef
typename
SuperentityTraitsType
::
LocalIndexType
LocalIndexType
;
typedef
typename
SuperentityTraitsType
::
StorageNetworkType
StorageNetworkType
;
typedef
typename
SuperentityTraitsType
::
SuperentityAccessorType
SuperentityAccessorType
;
using
IdArrayAccessorType
=
typename
MeshTraitsType
::
IdArrayAccessorType
;
using
GlobalIndexType
=
typename
SuperentityTraitsType
::
GlobalIndexType
;
using
LocalIndexType
=
typename
SuperentityTraitsType
::
LocalIndexType
;
using
StorageNetworkType
=
typename
SuperentityTraitsType
::
StorageNetworkType
;
using
SuperentityAccessorType
=
typename
SuperentityTraitsType
::
SuperentityAccessorType
;
/****
* Make visible setters and getters of the lower superentities
...
...
@@ -212,15 +212,15 @@ class MeshSuperentityAccessLayer< MeshConfig,
MeshDimensionsTag
<
EntityTopology
::
dimensions
>
,
false
>
{
static
const
int
Dimensions
=
EntityTopology
::
dimensions
;
typedef
MeshDimensionsTag
<
EntityTopology
::
dimensions
>
DimensionsTag
;
typedef
MeshTraits
<
MeshConfig
>
MeshTraitsType
;
typedef
typename
MeshTraitsType
::
template
SuperentityTraits
<
EntityTopology
,
DimensionsTag
::
value
>
SuperentityTraitsType
;
static
const
expr
int
Dimensions
=
EntityTopology
::
dimensions
;
using
DimensionsTag
=
MeshDimensionsTag
<
EntityTopology
::
dimensions
>
;
using
MeshTraitsType
=
MeshTraits
<
MeshConfig
>
;
using
SuperentityTraitsType
=
typename
MeshTraitsType
::
template
SuperentityTraits
<
EntityTopology
,
DimensionsTag
::
value
>;
protected:
typedef
typename
SuperentityTraitsType
::
GlobalIndexType
GlobalIndexType
;
typedef
typename
SuperentityTraitsType
::
LocalIndexType
LocalIndexType
;
typedef
typename
SuperentityTraitsType
::
SuperentityAccessorType
SuperentityAccessorType
;
using
GlobalIndexType
=
typename
SuperentityTraitsType
::
GlobalIndexType
;
using
LocalIndexType
=
typename
SuperentityTraitsType
::
LocalIndexType
;
using
SuperentityAccessorType
=
typename
SuperentityTraitsType
::
SuperentityAccessorType
;
/***
* Necessary because of 'using BaseType::...;' in the derived classes
...
...
@@ -251,15 +251,15 @@ class MeshSuperentityAccessLayer< MeshConfig,
MeshDimensionsTag
<
EntityTopology
::
dimensions
>
,
true
>
{
static
const
int
Dimensions
=
EntityTopology
::
dimensions
;
typedef
MeshDimensionsTag
<
EntityTopology
::
dimensions
>
DimensionsTag
;
typedef
MeshTraits
<
MeshConfig
>
MeshTraitsType
;
typedef
typename
MeshTraitsType
::
template
SuperentityTraits
<
EntityTopology
,
DimensionsTag
::
value
>
SuperentityTraitsType
;
static
const
expr
int
Dimensions
=
EntityTopology
::
dimensions
;
using
DimensionsTag
=
MeshDimensionsTag
<
EntityTopology
::
dimensions
>
;
using
MeshTraitsType
=
MeshTraits
<
MeshConfig
>
;
using
SuperentityTraitsType
=
typename
MeshTraitsType
::
template
SuperentityTraits
<
EntityTopology
,
DimensionsTag
::
value
>;
protected:
typedef
typename
SuperentityTraitsType
::
GlobalIndexType
GlobalIndexType
;
typedef
typename
SuperentityTraitsType
::
LocalIndexType
LocalIndexType
;
typedef
typename
SuperentityTraitsType
::
SuperentityAccessorType
SuperentityAccessorType
;
using
GlobalIndexType
=
typename
SuperentityTraitsType
::
GlobalIndexType
;
using
LocalIndexType
=
typename
SuperentityTraitsType
::
LocalIndexType
;
using
SuperentityAccessorType
=
typename
SuperentityTraitsType
::
SuperentityAccessorType
;
/***
* Necessary because of 'using BaseType::...;' in the derived classes
...
...
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