|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmmc.Output
public class Output
Class contains all parametrization table io routines, history/debugging info/secondary output definitions, and a fast double precision variable formatting routine
Field Summary | |
---|---|
static boolean |
AMASIM
|
static boolean |
DEBUG
|
static java.io.PrintStream |
err
|
protected static java.io.FileReader |
fileIa
|
protected static java.io.FileInputStream |
fileIr
|
protected static java.io.FileWriter |
fileOa
|
protected static java.io.FileOutputStream |
fileOr
|
int |
gens
|
protected int |
HIST
|
java.lang.StringBuffer |
history
|
static int |
HISTSIZE
|
static boolean |
I3flag
|
java.util.Vector |
I3hist
|
int |
igen
|
static java.io.InputStream |
in
|
protected static java.io.LineNumberReader |
ina
|
protected static boolean |
inf
|
protected static java.io.ObjectInputStream |
inr
|
static java.io.PrintStream |
out
|
protected static java.io.PrintWriter |
outa
|
protected static boolean |
outf
|
protected static java.io.ObjectOutputStream |
outr
|
protected Particle |
p
|
static boolean |
raw
|
static boolean |
RecDec
|
static boolean |
sta
|
static boolean |
texi
|
static java.lang.String |
version
|
static boolean |
web
|
Constructor Summary | |
---|---|
Output(Particle p)
initialize all classes necessary for propagation |
Method Summary | |
---|---|
static void |
close()
close the table |
static void |
delete(java.lang.String name)
delete the file |
static boolean |
exists(java.lang.String name)
See if the file "name" exists |
static java.lang.String |
f(double d)
Format the double |
java.lang.String |
getStdout()
gets the stdout output string, resets the stdout output |
void |
init(java.lang.String type)
initialize for no history output - no need to call this function |
void |
initDefault(int igen,
int gens,
java.lang.String type,
double time,
double x,
double y,
double z,
double theta,
double phi)
initialize for regular history output |
void |
initDefault(java.lang.String type)
initialize for regular history output |
void |
initF2000(int igen,
int gens,
java.lang.String type,
double time,
double x,
double y,
double z,
double theta,
double phi)
initialize for F2000 history output |
static void |
open(java.lang.String name)
open the table |
protected void |
output(int wint,
java.lang.String comp,
double de,
double ef)
print output information in the format specified by HIST |
protected static double |
read()
read one number from the table |
static java.io.Reader |
reader(java.lang.String name)
open Reader stream |
static boolean |
setStderr(java.lang.String name)
enables redirection of the stderr output into a file |
void |
setStdout()
enables redirection of the stdout output into a string |
static java.lang.String[] |
splitString(java.lang.String args)
Splits the string into the array |
protected static void |
write(double g)
write one number to the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String version
public static final int HISTSIZE
public static java.io.InputStream in
public static java.io.PrintStream out
public static java.io.PrintStream err
public static boolean DEBUG
public static boolean AMASIM
public java.lang.StringBuffer history
public int igen
public int gens
public static boolean I3flag
public static boolean RecDec
public java.util.Vector I3hist
protected int HIST
protected Particle p
protected static boolean inf
protected static boolean outf
protected static java.io.LineNumberReader ina
protected static java.io.PrintWriter outa
protected static java.io.ObjectInputStream inr
protected static java.io.ObjectOutputStream outr
public static boolean raw
public static boolean web
public static boolean sta
public static boolean texi
protected static java.io.FileInputStream fileIr
protected static java.io.FileReader fileIa
protected static java.io.FileOutputStream fileOr
protected static java.io.FileWriter fileOa
Constructor Detail |
---|
public Output(Particle p)
Method Detail |
---|
public static boolean setStderr(java.lang.String name)
public void setStdout()
public java.lang.String getStdout()
public void init(java.lang.String type)
public void initDefault(java.lang.String type)
public void initDefault(int igen, int gens, java.lang.String type, double time, double x, double y, double z, double theta, double phi)
public void initF2000(int igen, int gens, java.lang.String type, double time, double x, double y, double z, double theta, double phi)
protected void output(int wint, java.lang.String comp, double de, double ef)
protected static double read()
protected static void write(double g)
public static boolean exists(java.lang.String name)
public static void open(java.lang.String name)
public static void close()
public static void delete(java.lang.String name)
public static java.io.Reader reader(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public static java.lang.String[] splitString(java.lang.String args)
public static java.lang.String f(double d)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |