ID Class Reference

#include <ID.h>

List of all members.

Public Member Functions

 ID ()
 ID (int)
 ID (int size, int arraySize)
 ID (int *data, int size, bool cleanIt=false)
 ID (const ID &)
 ~ID ()
int Size (void) const
void Zero (void)
int setData (int *newData, int size, bool cleanIt=false)
int resize (int newSize)
int & operator() (int x)
int operator() (int x) const
int & operator[] (int)
IDoperator= (const ID &V)
int insert (int value)
int getLocation (int value) const
int getLocationOrdered (int value) const
int removeValue (int value)

Friends

class UDP_Socket
class TCP_Socket
class TCP_SocketNoDelay
class MPI_Channel
class MySqlDatastore
class BerkeleyDbDatastore
OPS_Streamoperator<< (OPS_Stream &s, const ID &V)


Detailed Description

Definition at line 42 of file ID.h.


Constructor & Destructor Documentation

ID::ID (  ) 

Definition at line 42 of file ID.cpp.

ID::ID ( int   ) 

Definition at line 52 of file ID.cpp.

References endln, exit(), and opserr.

ID::ID ( int  size,
int  arraySize 
)

Definition at line 81 of file ID.cpp.

References endln, exit(), and opserr.

ID::ID ( int *  data,
int  size,
bool  cleanIt = false 
)

Definition at line 115 of file ID.cpp.

References endln, exit(), and opserr.

ID::ID ( const ID  ) 

Definition at line 145 of file ID.cpp.

References data, endln, exit(), and opserr.

ID::~ID (  ) 

Definition at line 166 of file ID.cpp.


Member Function Documentation

int ID::Size ( void   )  const [inline]

Definition at line 91 of file ID.h.

Referenced by SymSparseLinSOE::addA(), SymSparseLinSOE::addB(), PartitionedDomain::addElement(), Domain::addElement(), Graph::addVertex(), ArrayGraph::addVertex(), PBowlLoading::applyLoad(), Matrix::Assemble(), SwapHeavierToLighterNeighbours::balance(), BeamColumnJoint2d::BeamColumnJoint2d(), BeamColumnJoint3d::BeamColumnJoint3d(), PartitionedDomain::buildEleGraph(), Domain::buildEleGraph(), Subdomain::buildMap(), Domain::buildNodeGraph(), PBowlLoading::CompPBLoads(), CorotTruss::CorotTruss(), CorotTrussSection::CorotTrussSection(), NLBeamColumn2d::displaySelf(), DOF_Graph::DOF_Graph(), DOF_Group::DOF_Group(), DOF_GroupGraph::DOF_GroupGraph(), NewmarkHybridSimulation::domainChanged(), NewmarkExplicit::domainChanged(), Newmark1::domainChanged(), Newmark::domainChanged(), HHTHybridSimulation::domainChanged(), HHTGeneralizedExplicit::domainChanged(), HHTGeneralized::domainChanged(), HHTExplicit::domainChanged(), HHT1::domainChanged(), HHT::domainChanged(), DistributedDisplacementControl::domainChanged(), CollocationHybridSimulation::domainChanged(), Collocation::domainChanged(), CentralDifferenceNoDamping::domainChanged(), CentralDifferenceAlternative::domainChanged(), CentralDifference::domainChanged(), AlphaOSGeneralized::domainChanged(), AlphaOS::domainChanged(), DomainDecompositionAnalysis::domainChanged(), TransformationDOF_Group::doneID(), ElasticBeam3d::ElasticBeam3d(), ElementalLoad::ElementalLoad(), EnvelopeNodeRecorder::EnvelopeNodeRecorder(), NewmarkSensitivityIntegrator::formEleResidual(), GenericSectionNd::GenericSectionNd(), TransformationDOF_Group::getCommittedAccel(), TransformationDOF_Group::getCommittedDisp(), TransformationDOF_Group::getCommittedVel(), Information::getData(), AnalysisModel::getDOFGraph(), AnalysisModel::getDOFGroupGraph(), Subdomain::getExternalNodes(), fElement::getNumExternalNodes(), beam2d04::getNumExternalNodes(), beam2d03::getNumExternalNodes(), ShadowSubdomain::getRemoteData(), PartitionedDomain::getSubdomainGraph(), TransformationDOF_Group::getT(), Graph::Graph(), TransformationConstraintHandler::handle(), PlainHandler::handle(), PenaltyConstraintHandler::handle(), LagrangeConstraintHandler::handle(), Graph::merge(), ParallelNumberer::mergeSubGraph(), MP_Constraint::MP_Constraint(), MP_Joint3D::MP_Joint3D(), NodeRecorder::NodeRecorder(), Metis::number(), RCM::number(), MyRCM::number(), PlainNumberer::numberDOF(), ParallelNumberer::numberDOF(), DOF_Numberer::numberDOF(), Vector::operator()(), Matrix::operator()(), operator<<(), Metis::partition(), DomainPartitioner::partition(), PBowlLoading::PBowlLoading(), PenaltyMP_FE::PenaltyMP_FE(), FilePlotter::plotFile(), FilePlotter::plotFiles(), Information::Print(), NodeRecorder::record(), MaxNodeDispRecorder::record(), EnvelopeNodeRecorder::record(), OracleDatastore::recvID(), FileDatastore::recvID(), BerkeleyDbDatastore::recvID(), NodeRecorder::recvSelf(), EnvelopeNodeRecorder::recvSelf(), SectionAggregator::recvSelf(), GenericSectionNd::recvSelf(), FiberSection::recvSelf(), Beam3dUniformLoad::recvSelf(), Beam3dPointLoad::recvSelf(), Beam2dUniformLoad::recvSelf(), Beam2dPointLoad::recvSelf(), DomainPartitioner::releaseVertex(), RigidDiaphragm::RigidDiaphragm(), ActorSubdomain::run(), NewmarkSensitivityIntegrator::saveSensitivity(), OracleDatastore::sendID(), FileDatastore::sendID(), BerkeleyDbDatastore::sendID(), NodeRecorder::sendSelf(), EnvelopeNodeRecorder::sendSelf(), EnvelopeElementRecorder::sendSelf(), EnvelopeDriftRecorder::sendSelf(), ElementRecorder::sendSelf(), DriftRecorder::sendSelf(), Vertex::sendSelf(), Graph::sendSelf(), MP_Joint2D::sendSelf(), Joint2D::sendSelf(), MeshRegion::sendSelf(), Beam3dUniformLoad::sendSelf(), Beam3dPointLoad::sendSelf(), Beam2dUniformLoad::sendSelf(), Beam2dPointLoad::sendSelf(), MP_Constraint::sendSelf(), FilePlotter::setCol(), fElement::setDomain(), ElementalLoad::setDomain(), MeshRegion::setElements(), ElementalLoad::setElementTags(), TransformationFE::setID(), PenaltySP_FE::setID(), PenaltyMP_FE::setID(), LagrangeSP_FE::setID(), LagrangeMP_FE::setID(), FE_Element::setID(), MeshRegion::setNodes(), LoadPattern::setParameter(), MeshRegion::setRayleighDampingFactors(), UmfpackGenLinSOE::setSize(), SymSparseLinSOE::setSize(), SparseGenRowLinSOE::setSize(), SparseGenColLinSOE::setSize(), DistributedSparseGenColLinSOE::setSize(), ProfileSPDLinSOE::setSize(), DistributedProfileSPDLinSOE::setSize(), ShadowPetscSOE::setSize(), MumpsSOE::setSize(), MumpsParallelSOE::setSize(), ItpackLinSOE::setSize(), DistributedDiagonalSOE::setSize(), DistributedBandSPDLinSOE::setSize(), BandSPDLinSOE::setSize(), DistributedBandGenLinSOE::setSize(), BandGenLinSOE::setSize(), SymBandEigenSOE::setSize(), SymArpackSOE::setSize(), BandArpackSOE::setSize(), DistributedProfileSPDLinSOE::solve(), DistributedBandSPDLinSOE::solve(), DistributedBandGenLinSOE::solve(), TclCreateRecorder(), TclModelBuilder_doBlock3D(), YieldSurface_BC::toElementSystem(), YieldSurface_BC::toLocalSystem(), TransformationDOF_Group::TransformationDOF_Group(), TransformationFE::TransformationFE(), Truss::Truss(), TrussSection::TrussSection(), ZeroLength::ZeroLength(), and TransformationFE::~TransformationFE().

int ID::resize ( int  newSize  ) 

Definition at line 324 of file ID.cpp.

References opserr.

Referenced by DistributedDiagonalSOE::setSize().

int & ID::operator() ( int  x  )  [inline]

Definition at line 94 of file ID.h.

References endln, and opserr.

int ID::operator() ( int  x  )  const [inline]

Definition at line 109 of file ID.h.

References endln, and opserr.

int & ID::operator[] ( int   ) 

Definition at line 258 of file ID.cpp.

References endln, and opserr.

ID & ID::operator= ( const ID V  ) 

Definition at line 385 of file ID.cpp.

References endln, opserr, and sz.

int ID::insert ( int  value  ) 

Definition at line 452 of file ID.cpp.

Referenced by Vertex::addEdge(), NodeLocations::addPartition(), and main().

int ID::getLocationOrdered ( int  value  )  const

Definition at line 218 of file ID.cpp.

int ID::removeValue ( int  value  ) 

Definition at line 242 of file ID.cpp.

Referenced by ShadowSubdomain::removeElement(), and ShadowSubdomain::removeNode().


Friends And Related Function Documentation

friend class UDP_Socket [friend]

Definition at line 74 of file ID.h.

friend class TCP_Socket [friend]

Definition at line 75 of file ID.h.

friend class TCP_SocketNoDelay [friend]

Definition at line 76 of file ID.h.

friend class MPI_Channel [friend]

Definition at line 77 of file ID.h.

friend class MySqlDatastore [friend]

Definition at line 78 of file ID.h.

friend class BerkeleyDbDatastore [friend]

Definition at line 79 of file ID.h.

OPS_Stream& operator<< ( OPS_Stream s,
const ID V 
) [friend]

Definition at line 426 of file ID.cpp.


The documentation for this class was generated from the following files:
  • OpenSees/SRC/matrix/ID.h
  • OpenSees/SRC/matrix/ID.cpp

Generated on Mon Oct 23 15:05:44 2006 for OpenSees by doxygen 1.5.0