spis.Vol.VolField
Class EField

java.lang.Object
  extended byspis.Vol.VolField.EField
Direct Known Subclasses:
PotEField

public abstract class EField
extends java.lang.Object

Class Name : EField (generic Electric Field class)
Project ref : SPIS project
File name : EField.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 : general abstract Electric Field class.
All Electric Field classes must be derived from this class.
Versions and anomalies correction :

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


Version:
0.1
Author:
JF Roussel

Field Summary
protected  VectVolField E
          The E field itself
protected  PoissonSolver poisson
          the Poisson Eq. solver
 
Constructor Summary
EField(VectVolField E_, PoissonSolver poissonSolver)
          Basic constructor
 
Method Summary
abstract  void computeElectricField(PointList pl, VectTable val)
          Provides the values of the electric field at a list of arbitrary locations PointList (particle positions).
 VectVolField getE()
           
 PoissonSolver getPoissonSolver()
           
 void setScPot(ScalSurfField scPot)
          sets SC potential
abstract  void solve(ScalVolField density)
          Calls default Poisson solver (linear or not of the Poisson Solver).
abstract  void solveLinear(ScalVolField density)
          Solves Poisson equation.
abstract  void solveNonLinear(ScalVolField density)
          Solves non linear Poisson equation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

E

protected VectVolField E
The E field itself


poisson

protected PoissonSolver poisson
the Poisson Eq. solver

Constructor Detail

EField

public EField(VectVolField E_,
              PoissonSolver poissonSolver)
Basic constructor

Method Detail

solveLinear

public abstract void solveLinear(ScalVolField density)
Solves Poisson equation.
Different interfaces can be envisaged with some parameters to be transmitted to the solver although they should rather be part of the solver in an OO approach


solveNonLinear

public abstract void solveNonLinear(ScalVolField density)
Solves non linear Poisson equation.
Different interfaces can be envisaged with some parameters to be transmitted to the solver although they should rather be part of the solver in an OO approach


solve

public abstract void solve(ScalVolField density)
Calls default Poisson solver (linear or not of the Poisson Solver).


computeElectricField

public abstract void computeElectricField(PointList pl,
                                          VectTable val)
Provides the values of the electric field at a list of arbitrary locations PointList (particle positions).
In the list of points PointList, more than the position may be used , as e.g. the index of the cell containing the point.
The result table val must be of the same type as the field (vector/scalar/…).
This routine performs a better physical interpolation (e.g. taking into account the specificity of wires) than the basic linear interpolation of VolField.computeField

See Also:
VolField.computeField(PointList, Table)

setScPot

public void setScPot(ScalSurfField scPot)
sets SC potential


getE

public VectVolField getE()

getPoissonSolver

public PoissonSolver getPoissonSolver()