Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
a3a4b543
Commit
a3a4b543
authored
Mar 21, 2018
by
LEFEBVREJP email
Browse files
WIP: f71stream.
parent
4cebaacc
Pipeline
#12645
passed with stages
in 5 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixio/f71stream.i.hh
View file @
a3a4b543
...
...
@@ -27,10 +27,10 @@ bool F71Stream::load_next(f71case_type& inventory)
// header
mStream
.
readHeader
();
// read record content
int
num_nuclides
=
mStream
.
readInt
();
// ITXX
mStream
.
readInt
();
// ILITE
mStream
.
readInt
();
// IACT =
mStream
.
readInt
();
// IFP =
int
num_nuclides
=
mStream
.
readInt
();
// ITXX
int
num_light_nuclides
=
mStream
.
readInt
();
// ILITE
int
num_actinides
=
mStream
.
readInt
();
// IACT =
int
num_fission_products
=
mStream
.
readInt
();
// IFP =
mStream
.
readInt
();
// NRFLAG =
mStream
.
readInt
();
// MSUB1 =
mStream
.
readInt
();
// NSTEPO =
...
...
@@ -73,9 +73,9 @@ bool F71Stream::load_next(f71case_type& inventory)
// read header
mStream
.
readHeader
();
std
::
vector
<
int
>
iza_list
((
size_t
(
num_nuclides
)));
mStream
>>
iza_list
;
mStream
>>
iza_list
;
// values
std
::
vector
<
float
>
abundances
((
size_t
(
num_nuclides
)));
mStream
>>
abundances
;
mStream
>>
abundances
;
// gram-atom concentrations
std
::
string
title
=
trim_string
(
mStream
.
readString
(
80
));
std
::
string
basis
=
trim_string
(
mStream
.
readString
(
40
));
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment