ParticleBC.h File Reference

ParticleBCType is a tag-like base class for a category of boundary condition applied to an Attribute of a Particles object. More...

#include "Particles/ParticleBCItem.h"

Include dependency graph for ParticleBC.h:

This graph shows which files directly or indirectly include this file:


Classes

class  ParticleBC< Subject, Object, BCType >
class  ParticleBCType< BCType >
class  ParticleCompBC< Dim, BCType >
class  ParticleCompBC< 1, BCType >
class  ParticleCompBC< 2, BCType >

Detailed Description

ParticleBCType is a tag-like base class for a category of boundary condition applied to an Attribute of a Particles object.

It provides a factory method for creating the desired boundary condition object. Each subclass of ParticleBCType gives itself as the template parameter to ParticleBCType, so that this class knows what to create.

ParticleBC is the class representing a generalized particle boundary condition. It has a subject type, object type, and a ParticleBCType. The subject can be a DynamicArray or a view or expression involving DynamicArrays. The subject is examined to determine if its value is outside the bounds of the ParticleBC. If the subject is out of bounds, the object of the ParticleBC is modified accordingly. Thus, the object must be modifiable in the appropriate way. The object of a ParticleBC can never be an expression, and for a KillBC, the object must be a DynamicArray or a Particles object.


Generated on Wed Mar 16 06:18:18 2011 for FreePOOMA by  doxygen 1.5.9