spis.Surf.InteractModel
Class MultipleInteractor
java.lang.Object
spis.Surf.InteractModel.Interactor
spis.Surf.InteractModel.MultipleInteractor
- Direct Known Subclasses:
- BasicSEEEInteractor
- public class MultipleInteractor
- extends Interactor
Class Name : MultipleInteractor
Project ref : SPIS project
File name : MultipleInteractor.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : Apr 28, 2004
Modification :
Description : a multiple interactor is a set of interactors.
In this implementation they have the same inFlux.
// * They can have one or several outFlux:
// * - if outFlux is a MultipleSurfDistrib, there must be one SurfDistrib per Interactor
// * - if not, all interactors also have their own out flux, but all the results
// * are summed up in the same single OutFlux passed to this class constructor.
This MultipleInteractor class can be used to group elementary interactors
into a composite interactor having an identified function:
- several populations generated by a single interaction (e.g. true secondary
electrons and backscattered electrons)
- interactors of two different material models (they will act on disjoint domains)
...
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipleInteractor
public MultipleInteractor(SurfDistrib inFlux,
Interactor[] interactors_)
- Default constructor.
The passed interactors do not need to have in fluxes, they will anyway
be redefined as the common inFlux passed to this constructor.
On the other hand they must have out fluxes. The global outFlux passed
to this constructor can be:
- a null pointer or a MultipleSurfDistrib, in which case it is redefined
as a MultipleSurfDistrib with components = the out fluxes of each interactor
// * - a SurfDistrib different type of MultipleSurfDistrib, in which case the
// * out fluxes of the interactors are mapped to and added to this type of SurfDistrib
// * (this option not yet implemented at computeInteraction level)
// * (this may however be more accurate to use this option with homogeneous
// * types of out-fluxes, in particular PICSurfDistrib).
- Parameters:
interactors_
-
computeInteraction
public void computeInteraction()
- Description copied from class:
Interactor
- Computes the interaction, not computing the net current in this version
- Specified by:
computeInteraction
in class Interactor
- See Also:
Interactor.computeInteraction()
getInteractorNb
public int getInteractorNb()
- Returns:
getInteractors
public Interactor[] getInteractors()
- Returns:
setInteractorNb
public void setInteractorNb(int i)
- Parameters:
i
-
setInteractors
public void setInteractors(Interactor[] interactors)
- Parameters:
interactors
-