spis.Solver.Poisson
Class PotPoissonSolver

java.lang.Object
  extended byspis.Solver.Poisson.PoissonSolver
      extended byspis.Solver.Poisson.PotPoissonSolver
Direct Known Subclasses:
ConjGrad3DUnstructPoissonSolver

public abstract class PotPoissonSolver
extends PoissonSolver

Class Name : PotPoissonSolver
Project ref : SPIS project
File name : PotPoissonSolver.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 Potential Poisson Solver class: solves Poisson equation for an electric field stored as a potential.
Compared to parent class PoissonSolver, simply forces the type E field passed.

Versions and anomalies correction :

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


Version:
0.1
Author:
JF Roussel

Constructor Summary
PotPoissonSolver(VolMesh volMesh, SurfMesh boundarySurfMesh, SurfMesh scSurfMesh, PoissonBC boundaryBC, PoissonBC scBC, float ne, float Te, float ne2, float Te2, boolean linear)
          Default constructor.
 
Method Summary
 AnalyticVolDistrib getAnalyticDens(VectVolField E)
          Returns the analytic volume distribution the non-linear solver is based upon.
 
Methods inherited from class spis.Solver.Poisson.PoissonSolver
getBbc, getBsm, getElecDens, getElecDens2, getElecTemp, getElecTemp2, getScbc, getScsm, getVm, init, initFromBc, interpolatePotential, interpolatePotGradient, isLinear, setElecDens, setElecDens2, setElecTemp, setElecTemp2, setLinear, setScPot, solve, solveLinear, solveNonLinear
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PotPoissonSolver

public PotPoissonSolver(VolMesh volMesh,
                        SurfMesh boundarySurfMesh,
                        SurfMesh scSurfMesh,
                        PoissonBC boundaryBC,
                        PoissonBC scBC,
                        float ne,
                        float Te,
                        float ne2,
                        float Te2,
                        boolean linear)
Default constructor. Transfers to parent class

Method Detail

getAnalyticDens

public AnalyticVolDistrib getAnalyticDens(VectVolField E)
Returns the analytic volume distribution the non-linear solver is based upon.
For now it can only be a GlobalMaxwellBoltzmannVolDistrib (Maxwell-Boltzman indeed) and this routine is implemented here.
In the future an arbitrary analytic distribution may be takent into account by non linear solver (different distribution than Boltzman), with the following changes:
- a new constructor with an AnalyticVolDistrib instead of ne and Te for PoissonSolvers - this routine to be modifed to return the generic AnalyticVolDistrib instead of the current GlobalMaxwellBoltzmannVolDistrib

Specified by:
getAnalyticDens in class PoissonSolver
Parameters:
E - pointer to the electric field to be used for this analytic distribution (must be a PotVectVolField although statically typed as a VectVolField)