spis.Util.Table
Class VeloVectTable

java.lang.Object
  extended byspis.Util.Table.Table
      extended byspis.Util.Table.VectTable
          extended byspis.Util.Table.VeloVectTable
All Implemented Interfaces:
java.io.Serializable

public class VeloVectTable
extends VectTable
implements java.io.Serializable

Class Name : VeloVectTable
Project ref : SPIS project
File name : VeloVectTable.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 : Table of velocity vectors (e.g. stored as Vr, Vtheta, Vphi in the local frame in case of a spherical geometry)
NB: in general accelerations are also considered to be of the velocity type. The reason are:
- in non cartesian coordinates, accelerations are in the local velocity frame as e.g. in spherical coordinates Vr, Vtheta, Vphi
- in case of different velocity and space dimension it looks more consistent to have accelerations on the same footing as velocities, e.g. in 2+3D axisymmetric: space is z, r, velocity is Vz, Vr, Vtheta and it is better to have also Az, Ar, Atheta since the azymutal acceleration can be e.g. generated by a magnetic field along Z axis

Versions and anomalies correction :

Version numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel
See Also:
Serialized Form

Constructor Summary
VeloVectTable(float[] v, int tableDimension)
          Constructor of a constant table with value v and dimension tableDimension
VeloVectTable(Geom geometry, float[][] values, int length)
          Constructor with full data
Values must be at least of dimension [length][geometry.vdim] (checked)
VeloVectTable(Geom geometry, int length)
          Default constructor
VeloVectTable(VeloVectTable t)
          Copy constructor (the new table is dimensioned to its useful size, it can be a way to reduce the dimension of a table to what is useful)
 
Method Summary
 VectTable getCopy()
          Returns a copy of this table
 
Methods inherited from class spis.Util.Table.VectTable
add, add, addData, checkSameDims, checkSameVectDim, checkSameVectDim, checkVectDimIsLarger, computeScalProd, computeTableSum, divide, equalPolarVeloIncrement, getGeom, getValues, getVectDim, linComb, mult, mult, mult, normalise, reset, returnNorm, returnScalProd, returnScalProd, set, set, setDim, setDimPreserve, setLengthPreserve, setMult, setMult, substract, vectProd
 
Methods inherited from class spis.Util.Table.Table
checkSameDim, declareDim, getDim
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VeloVectTable

public VeloVectTable(Geom geometry,
                     int length)
Default constructor


VeloVectTable

public VeloVectTable(Geom geometry,
                     float[][] values,
                     int length)
Constructor with full data
Values must be at least of dimension [length][geometry.vdim] (checked)


VeloVectTable

public VeloVectTable(VeloVectTable t)
Copy constructor (the new table is dimensioned to its useful size, it can be a way to reduce the dimension of a table to what is useful)


VeloVectTable

public VeloVectTable(float[] v,
                     int tableDimension)
Constructor of a constant table with value v and dimension tableDimension

Parameters:
tableDimension -
Method Detail

getCopy

public VectTable getCopy()
Returns a copy of this table

Overrides:
getCopy in class VectTable