public class BasicStructureNode extends java.lang.Object implements StructureNode
Modifier and Type | Field and Description |
---|---|
(package private) double |
area |
(package private) double |
capacitance |
(package private) boolean |
fixed |
(package private) double |
initialValue |
(package private) int |
iwork |
(package private) double |
radius |
(package private) double |
x |
(package private) double |
y |
(package private) double |
z |
Constructor and Description |
---|
BasicStructureNode() |
Modifier and Type | Method and Description |
---|---|
double |
getArea() |
double |
getCapacitance() |
double |
getInitialValue() |
(package private) double |
getRadius() |
int |
getWork()
retrieves the previously set work integer.
|
(package private) double |
getX() |
(package private) double |
getY() |
(package private) double |
getZ() |
boolean |
hasFixedValue(DiffusibleQuantity dq)
returns true only for those nodes whose value is externally fixed,
such as the potential or an earthed bath or a perfect voltage clamp.
|
void |
incrementArea(double d) |
BasicStateNode |
newState() |
void |
setArea(double d) |
void |
setFixed(boolean b) |
void |
setFixedValue(double d) |
void |
setInitialValue(double d) |
void |
setPosition(double vx,
double vy,
double vz) |
void |
setRadius(double r) |
void |
setWork(int i)
Stores an integer for later retrieval.
|
int iwork
boolean fixed
double capacitance
double area
double x
double y
double z
double radius
double initialValue
public BasicStateNode newState()
public void setInitialValue(double d)
public void setFixedValue(double d)
public double getInitialValue()
public void setPosition(double vx, double vy, double vz)
setPosition
in interface StructureNode
public void setRadius(double r)
setRadius
in interface StructureNode
double getX()
double getY()
double getZ()
double getRadius()
public void setWork(int i)
StructureNode
setWork
in interface StructureNode
public int getWork()
StructureNode
getWork
in interface StructureNode
public void setFixed(boolean b)
public boolean hasFixedValue(DiffusibleQuantity dq)
StructureNode
hasFixedValue
in interface StructureNode
public double getCapacitance()
public void setArea(double d)
public double getArea()
public void incrementArea(double d)
Copyright © 2013. All Rights Reserved.