AGX Dynamics  2.37.3.2
agx::IndexSet Class Reference

#include <IndexSet.h>

Classes

struct  Ipair
 

Public Types

typedef BoolValarray BVector
 
enum  IndexType {
  EQUALITY = -1, FREE = 0, LOWER = 2, UPPER = 4,
  IGNORE_INDEX = 8
}
 
typedef IntValarray IVector
 
typedef agx::Vector< Ipair > IxSet
 

Public Member Functions

 IndexSet ()
 
 IndexSet (agx::UInt n)
 
 ~IndexSet ()
 
const agx::IndexSet::IxSet & getAtBounds () const
 
const agx::IndexSet::IVector & getFull () const
 
const agx::IndexSet::IVector & getIndexSet () const
 
uint32_t hash ()
 
bool hasIgnoredIndices () const
 
agx::Int & operator() (agx::UInt i)
 
agx::Int operator() (agx::UInt i) const
 
void reset (const agx::SparseRangeReal &bounds)
 
void resize (agx::UInt n)
 
void update (const agx::SparseRangeReal &bounds)
 

Detailed Description

Definition at line 30 of file IndexSet.h.

Member Typedef Documentation

◆ BVector

Definition at line 42 of file IndexSet.h.

◆ IVector

Definition at line 41 of file IndexSet.h.

◆ IxSet

Definition at line 39 of file IndexSet.h.

Member Enumeration Documentation

◆ IndexType

Enumerator
EQUALITY 
FREE 
LOWER 
UPPER 
IGNORE_INDEX 

Definition at line 45 of file IndexSet.h.

Constructor & Destructor Documentation

◆ IndexSet() [1/2]

agx::IndexSet::IndexSet ( )

◆ IndexSet() [2/2]

agx::IndexSet::IndexSet ( agx::UInt  n)

◆ ~IndexSet()

agx::IndexSet::~IndexSet ( )

Member Function Documentation

◆ getAtBounds()

const agx::IndexSet::IxSet& agx::IndexSet::getAtBounds ( ) const

◆ getFull()

const agx::IndexSet::IVector& agx::IndexSet::getFull ( ) const

◆ getIndexSet()

const agx::IndexSet::IVector& agx::IndexSet::getIndexSet ( ) const

◆ hash()

uint32_t agx::IndexSet::hash ( )

◆ hasIgnoredIndices()

bool agx::IndexSet::hasIgnoredIndices ( ) const

◆ operator()() [1/2]

Int & agx::IndexSet::operator() ( agx::UInt  i)

Definition at line 84 of file IndexSet.h.

◆ operator()() [2/2]

Int agx::IndexSet::operator() ( agx::UInt  i) const

Definition at line 89 of file IndexSet.h.

◆ reset()

void agx::IndexSet::reset ( const agx::SparseRangeReal &  bounds)

◆ resize()

void agx::IndexSet::resize ( agx::UInt  n)

◆ update()

void agx::IndexSet::update ( const agx::SparseRangeReal &  bounds)

The documentation for this class was generated from the following file: