Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
iwr
amdis
Commits
0ee43cb7
Commit
0ee43cb7
authored
May 08, 2014
by
Backofen, Rainer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added functionality to initialise partitioning directly by arh-files
parent
78ddaebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
AMDiS/src/io/Arh2Reader.h
AMDiS/src/io/Arh2Reader.h
+11
-0
No files found.
AMDiS/src/io/Arh2Reader.h
View file @
0ee43cb7
...
...
@@ -184,6 +184,17 @@ namespace AMDiS { namespace io {
return
readMetaData
(
filename
,
elInRank
,
elCodeSize
,
tmp
);
}
/// Same as readMetaData but collects inform^ation from a set of ARH-files
int
readMetaFromArh
(
std
::
string
filename
,
std
::
map
<
int
,
int
>
&
elInRank
,
std
::
map
<
int
,
int
>
&
elCodeSize
);
/// read meta data from a single ARH-file (just copied from arhTools
/// (readMetaFromArh2) )
void
readMetaFromSgArh
(
std
::
ifstream
&
file
,
std
::
string
typeId
,
int
nProc
,
std
::
vector
<
std
::
set
<
std
::
pair
<
int
,
int
>
>
>&
data
);
/// Only returns just the number of subdomains a meta ARH file is defined for.
int
readMetaData
(
std
::
string
filename
);
...
...
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