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
a8f1a160
Commit
a8f1a160
authored
7 years ago
by
Podhorszki, Norbert
Browse files
Options
Downloads
Patches
Plain Diff
clang-format
parent
f595d9d1
No related branches found
No related tags found
1 merge request
!41
ADIOS1 Write engine, Selections, Variable.SetSelection() and updated Heat Transfer example
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/engine/adios1/ADIOS1Reader.h
+1
-1
1 addition, 1 deletion
include/engine/adios1/ADIOS1Reader.h
include/external/adios_selection.h
+2
-2
2 additions, 2 deletions
include/external/adios_selection.h
source/engine/adios1/ADIOS1Reader.cpp
+0
-2
0 additions, 2 deletions
source/engine/adios1/ADIOS1Reader.cpp
with
3 additions
and
5 deletions
include/engine/adios1/ADIOS1Reader.h
+
1
−
1
View file @
a8f1a160
...
@@ -99,7 +99,7 @@ public:
...
@@ -99,7 +99,7 @@ public:
private:
private:
void
Init
();
///< called from constructor, gets the selected ADIOS1
void
Init
();
///< called from constructor, gets the selected ADIOS1
///transport method from settings
///
transport method from settings
template
<
class
T
>
template
<
class
T
>
Variable
<
T
>
*
InquireVariableCommon
(
const
std
::
string
name
,
Variable
<
T
>
*
InquireVariableCommon
(
const
std
::
string
name
,
...
...
This diff is collapsed.
Click to expand it.
include/external/adios_selection.h
+
2
−
2
View file @
a8f1a160
...
@@ -51,7 +51,7 @@ enum ADIOS_SELECTION_TYPE
...
@@ -51,7 +51,7 @@ enum ADIOS_SELECTION_TYPE
{
{
ADIOS_SELECTION_BOUNDINGBOX
=
0
,
/* Contiguous block of data defined by
ADIOS_SELECTION_BOUNDINGBOX
=
0
,
/* Contiguous block of data defined by
offsets and counts in each dimension */
offsets and counts in each dimension */
ADIOS_SELECTION_POINTS
=
1
,
/* List of individual points */
ADIOS_SELECTION_POINTS
=
1
,
/* List of individual points */
ADIOS_SELECTION_WRITEBLOCK
=
ADIOS_SELECTION_WRITEBLOCK
=
2
,
/* Selection of an individual block written by a writer process */
2
,
/* Selection of an individual block written by a writer process */
ADIOS_SELECTION_AUTO
=
3
/* Let the method decide what to return */
ADIOS_SELECTION_AUTO
=
3
/* Let the method decide what to return */
...
@@ -85,7 +85,7 @@ typedef struct
...
@@ -85,7 +85,7 @@ typedef struct
uint64_t
npoints
;
uint64_t
npoints
;
uint64_t
*
points
;
uint64_t
*
points
;
ADIOS_SELECTION
ADIOS_SELECTION
*
container_selection
;
// a writeblock, a bounding box, or NULL
*
container_selection
;
// a writeblock, a bounding box, or NULL
}
ADIOS_SELECTION_POINTS_STRUCT
;
}
ADIOS_SELECTION_POINTS_STRUCT
;
/* A selected block produced by a writer
/* A selected block produced by a writer
...
...
This diff is collapsed.
Click to expand it.
source/engine/adios1/ADIOS1Reader.cpp
+
0
−
2
View file @
a8f1a160
...
@@ -27,7 +27,6 @@ ADIOS1Reader::ADIOS1Reader(ADIOS &adios, const std::string name,
...
@@ -27,7 +27,6 @@ ADIOS1Reader::ADIOS1Reader(ADIOS &adios, const std::string name,
{
{
Init
();
Init
();
adios_read_init_method
(
read_method
,
m_MPIComm
,
""
);
adios_read_init_method
(
read_method
,
m_MPIComm
,
""
);
}
}
ADIOS1Reader
::~
ADIOS1Reader
()
{
adios_read_finalize_method
(
read_method
);
}
ADIOS1Reader
::~
ADIOS1Reader
()
{
adios_read_finalize_method
(
read_method
);
}
...
@@ -174,5 +173,4 @@ void ADIOS1Reader::Init()
...
@@ -174,5 +173,4 @@ void ADIOS1Reader::Init()
}
}
}
}
}
// end namespace
}
// end namespace
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