spis.Surf.InteractModel
Class FunctionOfDistribFromFuncOfPart

java.lang.Object
  extended byspis.Surf.InteractModel.FunctionOfDistrib
      extended byspis.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 numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel

Constructor Summary
FunctionOfDistribFromFuncOfPart(FunctionOfParticle particleFunction_, boolean intensive_, ScalSurfField matModId_, ScalSurfField matId_)
          default constructor.
 
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
 

Constructor Detail

FunctionOfDistribFromFuncOfPart

public FunctionOfDistribFromFuncOfPart(FunctionOfParticle particleFunction_,
                                       boolean intensive_,
                                       ScalSurfField matModId_,
                                       ScalSurfField matId_)
default constructor.

Parameters:
particleFunction_ - microscopic function
intensive_ - if true intensive function to be averaged, not added
Method Detail

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