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
Commits
ec26e29b
Commit
ec26e29b
authored
8 years ago
by
wfg
Browse files
Options
Downloads
Patches
Plain Diff
Fixing adding dimNx to MyDoubles in helloWriter_OOP.cpp
parent
72e71552
No related branches found
No related tags found
1 merge request
!8
Integrate groupless
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/hello/writer/helloWriter_OOP.cpp
+1
-1
1 addition, 1 deletion
examples/hello/writer/helloWriter_OOP.cpp
with
1 addition
and
1 deletion
examples/hello/writer/helloWriter_OOP.cpp
+
1
−
1
View file @
ec26e29b
...
...
@@ -41,7 +41,7 @@ int main( int argc, char* argv [] )
adios
::
Group
&
ioGroup
=
adios
.
DeclareGroup
(
"ioGroup"
);
adios
::
Var
ioNx
=
ioGroup
.
DefineVariable
<
unsigned
int
>
(
"Nx"
);
adios
::
Dims
dimNx
=
ioGroup
.
SetDimensions
(
{
ioNx
}
);
adios
::
Var
ioMyDoubles
=
ioGroup
.
DefineVariable
<
double
>
(
"myDoubles"
);
adios
::
Var
ioMyDoubles
=
ioGroup
.
DefineVariable
<
double
>
(
"myDoubles"
,
dimNx
);
//add transform to variable in group...not executed (just testing API)
adios
::
Transform
bzip2
=
adios
::
transform
::
BZIP2
(
);
...
...
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