Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

CriticalPointInterrogator Class Reference

#include <CriticalPointInterrogator.h>

Inheritance diagram for CriticalPointInterrogator:

Inheritance graph
[legend]
Collaboration diagram for CriticalPointInterrogator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MAKE_PARTICLESTUFF_NAME ()
 CriticalPointInterrogator (Particles *ps=NULL, std::string name=std::string("CriticalPointInterrogator"))
 Default constructor.

void attachAttributes ()
 Attach all the attributes needed by the behavior.

int qlen ()
 Parameter control for the user.

void getq (double *q)
 Get the parameters.

void setq (double *q)
 Set particle stuff parameters.

void qname (char **qn)
 Get the names of the parameters.

void createCriticalPointPS (Particles *ps)
void cleanup ()
 Manages the number of particles.

void findCriticalPoints ()

Private Attributes

ImplicitInterrogatorimpInt
 Attribute for the Implicit Surface.

int calculateCriticalPoints
 Set to true to force recalculation of critcal points.

Particlestarget
 Pointer to the critical point particles.

SearchCritical criticalPointsFinder
 The Newton solver to find 3D critical points.

ParticleBoundingBoxbounds
 Bounding box for the Newton solver.


Constructor & Destructor Documentation

CriticalPointInterrogator::CriticalPointInterrogator Particles ps = NULL,
std::string  name = std::string("CriticalPointInterrogator")
 

Default constructor.

Definition at line 18 of file CriticalPointInterrogator.cpp.

References calculateCriticalPoints, impInt, and target.


Member Function Documentation

void CriticalPointInterrogator::attachAttributes  )  [virtual]
 

Attach all the attributes needed by the behavior.

Defaults to a nop.

Reimplemented from ParticleBehavior.

Definition at line 30 of file CriticalPointInterrogator.cpp.

References ParticleStuff::attachAttribute(), ParticleBehavior::attachAttributes(), and impInt.

void CriticalPointInterrogator::cleanup  )  [virtual]
 

Manages the number of particles.

Reimplemented from ParticleBehavior.

Definition at line 78 of file CriticalPointInterrogator.cpp.

References Particles::addParticle(), calculateCriticalPoints, Particles::clear(), createCriticalPointPS(), criticalPointsFinder, findCriticalPoints(), NewtonClassify::fKinds, Newton::fRoots, NewtonClassify::fValues, NewtonClassify::fVectors, Particles::getAttribute(), ImplicitInterrogator::getImplicit(), impInt, ParticleStuff::ps, ParticleMaterial::setDiffuse(), ParticleEigen::setEigenValues(), ParticleEigen::setEigenVectors(), ParticlePosition::setPosition(), ParticleEigen::setPositiveEigenValues(), Particles::size(), and target.

void CriticalPointInterrogator::createCriticalPointPS Particles ps  ) 
 

Definition at line 56 of file CriticalPointInterrogator.cpp.

References ImplicitInterrogator::getImplicit(), impInt, ParticleSystem::particles, Particles::particleSystem, and target.

Referenced by cleanup().

void CriticalPointInterrogator::findCriticalPoints  ) 
 

Definition at line 136 of file CriticalPointInterrogator.cpp.

References bounds, SearchCritical::classify(), criticalPointsFinder, Newton::fUseNewton, Particles::getBehavior(), ParticleBoundingBox::getBounds(), ParticleStuff::ps, SearchCritical::search(), and SearchCritical::setBoxBounds().

Referenced by cleanup().

void CriticalPointInterrogator::getq double *  q  )  [virtual]
 

Get the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 41 of file CriticalPointInterrogator.cpp.

References calculateCriticalPoints.

CriticalPointInterrogator::MAKE_PARTICLESTUFF_NAME  ) 
 

int CriticalPointInterrogator::qlen  )  [virtual]
 

Parameter control for the user.

Reimplemented from ParticleStuff.

Definition at line 36 of file CriticalPointInterrogator.cpp.

void CriticalPointInterrogator::qname char **  qn  )  [virtual]
 

Get the names of the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 51 of file CriticalPointInterrogator.cpp.

void CriticalPointInterrogator::setq double *  q  )  [virtual]
 

Set particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 46 of file CriticalPointInterrogator.cpp.

References calculateCriticalPoints.


Member Data Documentation

ParticleBoundingBox* CriticalPointInterrogator::bounds [private]
 

Bounding box for the Newton solver.

Definition at line 31 of file CriticalPointInterrogator.h.

Referenced by findCriticalPoints().

int CriticalPointInterrogator::calculateCriticalPoints [private]
 

Set to true to force recalculation of critcal points.

Definition at line 25 of file CriticalPointInterrogator.h.

Referenced by cleanup(), CriticalPointInterrogator(), getq(), and setq().

SearchCritical CriticalPointInterrogator::criticalPointsFinder [private]
 

The Newton solver to find 3D critical points.

Definition at line 29 of file CriticalPointInterrogator.h.

Referenced by cleanup(), and findCriticalPoints().

ImplicitInterrogator* CriticalPointInterrogator::impInt [private]
 

Attribute for the Implicit Surface.

Definition at line 22 of file CriticalPointInterrogator.h.

Referenced by attachAttributes(), cleanup(), createCriticalPointPS(), and CriticalPointInterrogator().

Particles* CriticalPointInterrogator::target [private]
 

Pointer to the critical point particles.

Definition at line 27 of file CriticalPointInterrogator.h.

Referenced by cleanup(), createCriticalPointPS(), and CriticalPointInterrogator().


The documentation for this class was generated from the following files:
Generated on Mon Jun 28 15:02:11 2004 for Advanced Surface Library by doxygen 1.3.4