Description Usage Arguments Value Examples
This function is used to read variables. You can read one or more variables with specific range or whole.
1 2 3 |
adios.filename |
adios file name |
varname |
variable name |
start |
start position of selection |
count |
length of selection |
comm |
mpi comm |
p |
number of processes |
adios.rank |
comm rank |
variable values. If start and count are not specified, all values will be returned.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
##read a scalar
bp.read("attributes.bp", "NX")
##read a variable with start
bp.read("attributes.bp", "temperature", c(0, 0))
##read a variable with count
bp.read("attributes.bp", "temperature", count=c(1, 2))
##read a variable with start and count
bp.read("attributes.bp", "temperature", c(0, 9), c(1, 1))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.