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
3a4e6940
Commit
3a4e6940
authored
8 years ago
by
Podhorszki, Norbert
Browse files
Options
Downloads
Patches
Plain Diff
fix selection use in example
parent
bde355d3
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
doc/API_design/API_example_use.cpp
+1
-1
1 addition, 1 deletion
doc/API_design/API_example_use.cpp
with
1 addition
and
1 deletion
doc/API_design/API_example_use.cpp
+
1
−
1
View file @
3a4e6940
...
...
@@ -92,7 +92,7 @@ int main( int argc, char* argv[])
// Engine will copy this bounding box from the data pointer into the buffer. Size of the bounding box should match the
// "space" selection which was given above. Default memspace is the full selection.
adios
::
Selection
memspace
=
adios
.
SelectionBoundingBox
(
{
1
,
NX
},
{
0
,
1
}
);
// local dims and offsets; both as list
var2D
.
SetMemorySelection
(
sel
);
var2D
.
SetMemorySelection
(
memspace
);
writer
->
Write
<
double
>
(
var2D
,
*
Temperature
);
...
...
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