public abstract class Material
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected class |
Material.InitVals |
static class |
Material.InteractionList |
Modifier and Type | Field and Description |
---|---|
double |
charge |
double |
density |
protected FieldCollection1D |
depflux_collection |
protected FieldCollection1D |
deprate_collection |
double |
diam |
protected FieldManager1D |
field_manager1d |
protected FieldManager2D |
field_manager2d |
protected FieldCollection1D |
flux_collection |
protected FieldCollection1D |
flux_normal_collection |
boolean |
frozen |
double |
mass |
int |
mat_index |
java.lang.String |
name |
double |
q_over_m |
double |
ref_temp |
Material.InteractionList |
source_interactions
list of interactions that affect the source particle: diffuse, absorb, etc..
|
Material.InteractionList |
target_interactions
list of interactions that affect the target material: sputtering, secondary electrons, etc...
|
protected double |
total_momentum |
double |
visc_temp_index |
double |
vss_alpha |
Constructor and Description |
---|
Material(java.lang.String name,
double mass) |
Material(java.lang.String name,
double mass,
double charge,
boolean frozen) |
public int mat_index
public double mass
public double density
public double charge
public double q_over_m
public double diam
public double ref_temp
public double visc_temp_index
public double vss_alpha
public java.lang.String name
public boolean frozen
protected FieldManager2D field_manager2d
protected FieldManager1D field_manager1d
protected FieldCollection1D flux_collection
protected FieldCollection1D flux_normal_collection
protected FieldCollection1D deprate_collection
protected FieldCollection1D depflux_collection
protected double total_momentum
public Material.InteractionList source_interactions
public Material.InteractionList target_interactions
public Material(java.lang.String name, double mass)
name
- mass
- public Material(java.lang.String name, double mass, double charge, boolean frozen)
name
- mass
- charge
- frozen
- public java.lang.String getName()
public FieldManager2D getFieldManager2d()
public FieldManager1D getFieldManager1d()
public int getIndex()
public double getMass()
public double getDensity()
public double getTotalMomentum()
public FieldCollection2D getDenCollection()
public FieldCollection2D getDenAveCollection()
public FieldCollection2D getUCollection()
public FieldCollection2D getVCollection()
public FieldCollection2D getWCollection()
public FieldCollection2D getUAveCollection()
public FieldCollection2D getVAveCollection()
public FieldCollection2D getWAveCollection()
public FieldCollection2D getTempCollection()
public FieldCollection2D getPressureCollection()
public double getCharge()
public void setInitValues(java.lang.String[] init_strings)
init_strings
- public void update()
public abstract void updateFields()
public void updateBoundaries()
public void saveRestartData(java.io.DataOutputStream out) throws java.io.IOException
out
- java.io.IOException
public void loadRestartData(java.io.DataInputStream in) throws java.io.IOException
in
- java.io.IOException
public void init()
public double[] sampleVelocity(Mesh mesh, double[] lc)
mesh
- lc
- public double[] sampleMaxwellianVelocity(Mesh mesh, double[] lc, double T_min)
mesh
- lc
- T_min
-