public class MeshDataReader extends java.lang.Object implements DataReader
Modifier and Type | Field and Description |
---|---|
(package private) DataReader |
coReader |
(package private) double[][][] |
data |
(package private) java.io.File |
file |
(package private) double[] |
frameValues |
(package private) double[][][] |
mesh |
(package private) int |
nvar |
(package private) java.lang.String[] |
specieNames |
Constructor and Description |
---|
MeshDataReader(java.io.File f,
DataReader dr) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead(java.lang.String line) |
double[][][] |
getData() |
double[] |
getFrameValues() |
double[][][] |
getMesh() |
java.lang.String[] |
getValueNames() |
private double[] |
parseLine(java.lang.String s) |
void |
read() |
void |
readBlock(java.lang.String line,
java.io.BufferedReader br) |
private double[][] |
readGridConcs(java.io.BufferedReader br,
int nel,
int nspec) |
private void |
readMesh(java.io.BufferedReader br,
int nel) |
java.io.File file
double[][][] mesh
double[][][] data
double[] frameValues
java.lang.String[] specieNames
int nvar
DataReader coReader
public MeshDataReader(java.io.File f, DataReader dr)
public boolean canRead(java.lang.String line)
canRead
in interface DataReader
public void read()
private void readMesh(java.io.BufferedReader br, int nel)
private double[][] readGridConcs(java.io.BufferedReader br, int nel, int nspec)
private double[] parseLine(java.lang.String s)
public double[][][] getMesh()
public double[][][] getData()
public double[] getFrameValues()
public java.lang.String[] getValueNames()
public void readBlock(java.lang.String line, java.io.BufferedReader br)
readBlock
in interface DataReader
Copyright © 2013. All Rights Reserved.