spis.Surf.InteractModel
Class FunctionOfDistribFromFuncOfPart
java.lang.Object
spis.Surf.InteractModel.FunctionOfDistrib
spis.Surf.InteractModel.FunctionOfDistribFromFuncOfPart
- public class FunctionOfDistribFromFuncOfPart
- extends FunctionOfDistrib
Class Name : FunctionOfDistribFromFuncOfPart
Project ref : SPIS project
File name : FunctionOfDistribFromFuncOfPart.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 : Macroscopic function based on a microscopic function:
from f(partic), builds F(distrib) = sum_partic(weight*f(partic))
This can only be applied on an extensive function (typically a number of secondary particles)
Normalisation also to be confirmed (particle number if inFlux is PIC versus
#/m2 if fluid...) TBW
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
- Version:
- 0.1
- Author:
- JF Roussel
Method Summary |
void |
compute(SurfDistrib flux,
ScalSurfField result)
Computes the local macroscopic function of the given incoming flux (PIC or fluid or...). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionOfDistribFromFuncOfPart
public FunctionOfDistribFromFuncOfPart(FunctionOfParticle particleFunction_,
boolean intensive_,
ScalSurfField matModId_,
ScalSurfField matId_)
- default constructor.
- Parameters:
particleFunction_
- microscopic functionintensive_
- if true intensive function to be averaged, not added
compute
public void compute(SurfDistrib flux,
ScalSurfField result)
- Computes the local macroscopic function of the given incoming flux (PIC or fluid or...).
- Specified by:
compute
in class FunctionOfDistrib