|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Util.List.PointList
Class Name : PointList
Project ref : SPIS project
File name : PointList.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 : List of points.
Includes points positions and index of the cell containing each point
(necesarry to keep track of the cell for unstructured meshes,
this may not be used for structured meshes).
The start and end indices can be used to only consider part of the particles
of which data are stored in tables (temporarily or not).
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Field Summary | |
protected int |
dim
Useful list dimension: points/particles from 0 to dim-1 can be considered. |
protected int |
endId
start index (index of the first particle to consider) |
protected IntScalTable |
indexT
index of the cell containing the point (or of the surface a particle has arrived on, for derived class PartList) |
protected SpaceVectTable |
posT
position of the point |
protected int |
startId
start index (index of the first particle to consider) |
protected VolMesh |
vm
pointer to the volume mesh the index refers to |
Constructor Summary | |
PointList(PointList pl)
copy constructor (variable arrays are copied, whereas for meshes and particle type pointers only are copied) |
|
PointList(VolMesh volMesh)
Constructor of an empty list |
|
PointList(VolMesh volMesh,
int dimension)
Constructor of a list of a given dimension |
|
PointList(VolMesh volMesh,
IntScalTable indexTable,
SpaceVectTable posTable)
Default constructor with full data |
Method Summary | |
void |
declareDim(int dimension)
declares the list dimension = dim (just stores it, does not allocate anything) |
int |
getDim()
|
int |
getEndId()
|
IntScalTable |
getIndexTable()
|
SpaceVectTable |
getPosTable()
|
int |
getStartId()
|
VolMesh |
getVm()
|
void |
init()
initialisations |
void |
setDim(int dimension)
sets the list dimension to dim: resizes the tables if needed, not preserving data (except if no resizing is needed). |
void |
setDimPreserve(int dimension)
sets the list dimension to dim: resizes the tables if needed, not preserving data (except if no resizing is needed). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SpaceVectTable posT
protected IntScalTable indexT
protected VolMesh vm
protected int dim
protected int startId
protected int endId
Constructor Detail |
public PointList(VolMesh volMesh)
public PointList(VolMesh volMesh, int dimension)
public PointList(VolMesh volMesh, IntScalTable indexTable, SpaceVectTable posTable)
public PointList(PointList pl)
Method Detail |
public void init()
public void declareDim(int dimension)
public void setDim(int dimension)
public void setDimPreserve(int dimension)
public SpaceVectTable getPosTable()
public IntScalTable getIndexTable()
public VolMesh getVm()
public int getDim()
public int getStartId()
public int getEndId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |