Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Cubism
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mavt-cse
Cubism
Commits
15e6229b
Commit
15e6229b
authored
Nov 24, 2018
by
fabianw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BlockType and ElementType provide RealType instead of Real
parent
fc3b9513
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/Cubism/BlockLab.h
include/Cubism/BlockLab.h
+1
-1
include/Cubism/Grid.h
include/Cubism/Grid.h
+1
-1
No files found.
include/Cubism/BlockLab.h
View file @
15e6229b
...
...
@@ -43,7 +43,7 @@ class BlockLab
public:
typedef
ElementTypeT
ElementType
;
typedef
typename
ElementTypeT
::
Real
Real
;
// Element type MUST provide `Real` type
.
typedef
typename
ElementTypeT
::
Real
Type
Real
;
// Element type MUST provide `RealType`
.
protected:
typedef
TBlock
BlockType
;
...
...
include/Cubism/Grid.h
View file @
15e6229b
...
...
@@ -97,7 +97,7 @@ protected:
public:
typedef
Block
BlockType
;
typedef
typename
Block
::
Real
Real
;
// Block MUST provide `Real` type
.
typedef
typename
Block
::
Real
Type
Real
;
// Block MUST provide `RealType`
.
Grid
(
const
unsigned
int
_NX
,
const
unsigned
int
_NY
=
1
,
const
unsigned
int
_NZ
=
1
,
const
double
_maxextent
=
1
)
:
m_blocks
(
NULL
),
maxextent
(
_maxextent
),
N
(
_NX
*
_NY
*
_NZ
),
NX
(
_NX
),
NY
(
_NY
),
NZ
(
_NZ
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment