Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
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
Podhorszki, Norbert
ADIOS2
Merge requests
!102
Variables3
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Variables3
github/fork/pnorbert/variables3
into
master
Overview
35
Commits
16
Pipelines
0
Changes
34
Merged
Podhorszki, Norbert
requested to merge
github/fork/pnorbert/variables3
into
master
7 years ago
Overview
20
Commits
16
Pipelines
0
Changes
34
Expand
Created by: pnorbert
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
97734f89
16 commits,
5 years ago
34 files
+
1868
−
690
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
34
Search (e.g. *.vue) (Ctrl+P)
examples/groupless/basic/reader.cpp
+
2
−
3
Options
@@ -104,8 +104,7 @@ int main(int argc, char *argv[])
"'myDoubles' in input file
\n
"
);
// ? how do we know about the type? std::string varNice->m_Type
uint64_t
gdim
=
varNice
->
m_GlobalDimensions
[
0
];
// ?member var or member func?
uint64_t
gdim
=
varNice
->
m_Shape
[
0
];
// ?member var or member func?
uint64_t
ldim
=
gdim
/
nproc
;
uint64_t
offs
=
rank
*
ldim
;
if
(
rank
==
nproc
-
1
)
@@ -128,7 +127,7 @@ int main(int argc, char *argv[])
// inquiry about a variable, whose name we know
std
::
shared_ptr
<
adios
::
Variable
<
void
>>
varRagged
=
bpReader
.
InquiryVariable
(
"Ragged"
);
if
(
varRagged
->
m_
GlobalDimensions
[
1
]
!=
adios
::
VARYING_DIMENSION
)
if
(
varRagged
->
m_
Shape
[
1
]
!=
adios
::
VARYING_DIMENSION
)
{
throw
std
::
ios_base
::
failure
(
"Unexpected condition: Ragged array's fast dimension "
Loading