|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Vol.VolField.VolField
spis.Vol.VolField.ScalVolField
Class Name : ScalVolField (Scalar Volume Field)
Project ref : SPIS project
File name : ScalVolField.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : 25/08/2003
Modification :
Description : Scalar Volume Field class.
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Constructor Summary | |
ScalVolField(ScalVolField f)
Copy constructor |
|
ScalVolField(VolMesh volMesh,
Centring cent)
Default constructor, a new Table is allocated. |
|
ScalVolField(VolMesh volMesh,
Centring centring,
float value)
Constructor initialising the field to a constant value. |
|
ScalVolField(VolMesh volMesh,
Centring cent,
FloatScalTable values)
Constructor with Table provided. . |
|
ScalVolField(VolMesh volMesh,
Centring centring,
ScalFunctionOfVect f)
Constructor defining the field from a passed scalar function. |
Method Summary | |
void |
add(ScalVolField f)
Adds another field to this one (on the spot) |
void |
applyFunc(ScalFunctionOfScal f)
Applies a function to this field (on the spot) |
FloatScalTable |
buildExternIndexedTable()
Builds and returns the values of the field at a the mesh elements it is defined on (nodes/cells/...depending on centring), using external indexing of elements (relevent only for node-centred fields). |
void |
computeField(PointList pl,
Table values)
Provides the values of the field at a list of arbitrary locations PointList (particle positions). |
void |
divide(ScalVolField f)
Multiplies this field by another field (on the spot) |
void |
equalFunc(ScalFunctionOfScal f,
ScalVolField x)
Applies a function to the argument field and affects the result to this field. |
FloatScalTable |
getTable()
Returns the values of the field at a the mesh elements it is defined on (nodes/cells/...depending on centring). |
void |
linComb(float a1,
ScalVolField f,
float a2)
Performs the following linear comination on this field: this = a1 this + a2 f (on the spot) |
void |
mapToSurfField(ScalSurfField sf)
|
void |
mult(float x)
Multiplies this field by a scalar (on the spot) |
void |
mult(ScalVolField f)
Multiplies this field by another field (on the spot) |
void |
set(float value)
Sets this field to a constant value |
void |
set(ScalVolField inField)
Sets this field to the same local values as the passed filed (copies the values). |
void |
setTable(FloatScalTable values)
Sets the field at the mesh elements it is defined on (nodes/cells/...depending on centring). |
void |
substract(ScalVolField f)
Substract another field from this one (on the spot) |
Methods inherited from class spis.Vol.VolField.VolField |
checkDim, checkSameCentring, getCentring, getName, getTime, getVm, setName, setTime |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScalVolField(VolMesh volMesh, Centring cent)
public ScalVolField(VolMesh volMesh, Centring cent, FloatScalTable values)
public ScalVolField(VolMesh volMesh, Centring centring, float value)
public ScalVolField(VolMesh volMesh, Centring centring, ScalFunctionOfVect f)
public ScalVolField(ScalVolField f)
Method Detail |
public void mult(ScalVolField f)
mult
in class VolField
public void mult(float x)
mult
in class VolField
public void divide(ScalVolField f)
divide
in class VolField
public void add(ScalVolField f)
public void substract(ScalVolField f)
public void linComb(float a1, ScalVolField f, float a2)
public void applyFunc(ScalFunctionOfScal f)
public void equalFunc(ScalFunctionOfScal f, ScalVolField x)
public void set(float value)
public void set(ScalVolField inField)
public void computeField(PointList pl, Table values)
computeField
in class VolField
EField#computeField(PointList, Table)
public void mapToSurfField(ScalSurfField sf)
public FloatScalTable getTable()
public FloatScalTable buildExternIndexedTable()
public void setTable(FloatScalTable values)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |