|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Vol.VolMesh.Centring
Class Name : Centring
Project ref : SPIS project
File name : Centring.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 : Definition of the centring of a field (Vol ou Surf).
A field can centred on elements:
- of dimension 3
- of dimension 2
- of dimension 1
- of dimension 0
They can centred on elements:
- volumic elements (in which the plasma dynamics is modelled)
- surfacic elements (= volume boundaries, by definition)
- linear elements (this concept may not be used)
- nodes (points)
In 3D these concepts are identical, but in 2D volumic elements (in which
the plasma dynamics is modelled) are of dimension 2, this is why these concepts are to be distinguished.
Several methods thus provides values for these different concepts.
NB: for now, this class is used both for the centring of Volume and Surface fields,
which is somewhat inconsistent with the separation of Volume and Surface Meshes and Fields
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Constructor Summary | |
Centring(Centring cent)
Copy constructor |
|
Centring(Geom geometry,
int absoluteDim)
One of the two default constructors: Geometry is first, absolute dimension follows. |
|
Centring(int relativeDimension,
Geom geometry)
One of the two default constructors: first relative dimension, then Geometry. |
Method Summary | |
void |
checkHasRelDim(int relDim_)
|
int |
getAbsDim()
returns absolute dimension. |
Geom |
getGeom()
returns the geometry of this Centring |
int |
getRelDim()
Returns relative dimension (down). |
boolean |
isIdentical(Centring cent)
tests whether centring is identical |
void |
setAbsDim(int d)
Sets absolute dimension. |
void |
setRelDim(int d)
Sets relative dimension (down). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Centring(Geom geometry, int absoluteDim)
public Centring(int relativeDimension, Geom geometry)
public Centring(Centring cent)
Method Detail |
public void checkHasRelDim(int relDim_)
public int getAbsDim()
public int getRelDim()
public void setRelDim(int d)
public void setAbsDim(int d)
public boolean isIdentical(Centring cent)
public Geom getGeom()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |