GEOS
Classes | Namespaces | Typedefs | Functions
ToParticleRelation.hpp File Reference
#include "InterObjectRelation.hpp"

Go to the source code of this file.

Classes

class  geos::ToParticleRelation< BASETYPE >
 A relationship to a particle. More...
 

Namespaces

 geos
 

Typedefs

typedef ToParticleRelation< array2d< localIndex > > geos::FixedToManyParticleRelation
 A ToParticleRelation where each object is related to the same number of particles.
 
typedef ToParticleRelation< ArrayOfArrays< localIndex > > geos::OrderedVariableToManyParticleRelation
 A ToParticleRelation where each object is related to an arbitrary number of particles.
 

Functions

void geos::erase (OrderedVariableToManyParticleRelation &relation, localIndex const firstIndex, localIndex const er, localIndex const esr, localIndex const ei)
 Remove a particle relation from an object in the relation. More...
 
void geos::insert (OrderedVariableToManyParticleRelation &relation, localIndex const firstIndex, localIndex const er, localIndex const esr, localIndex const ei)
 Insert a particle relation for an object in the relation. Checks for existing membership. More...
 
void geos::fastInsert (OrderedVariableToManyParticleRelation &relation, localIndex const firstIndex, localIndex const er, localIndex const esr, localIndex const ei)
 Insert a particle relation for an object in the relation. This is slightly faster than "insert" because it does NOT check for existing membership. More...
 
void geos::insertMany (OrderedVariableToManyParticleRelation &relation, localIndex const firstIndex, std::vector< localIndex > const &erArray, std::vector< localIndex > const &esrArray, std::vector< localIndex > const &eiArray)
 Insert a particle relation for several objects in the relation. Does NOT check for existing membership. More...
 
void geos::reserveNeighbors (OrderedVariableToManyParticleRelation &relation, int const numToReserve)
 Reserve a set number of entities for a particle to relate to. More...