OOFEM  2.1
Public Member Functions | Private Attributes
oofem::IntArray Class Reference

Class implementing an array of integers. More...

#include <intarray.h>

List of all members.

Public Member Functions

 IntArray (int=0)
 Constructor for zero sized array.
 IntArray (const IntArray &)
 Copy constructor. Creates the array from another array.
 ~IntArray ()
 Destructor.
IntArrayoperator= (const IntArray &)
 Assignment operator.
int & at (int i)
 Coefficient access function.
int at (int i) const
 Coefficient access function.
int & operator() (int i)
 Coefficient access function.
const int & operator() (int i) const
 Coefficient access function.
void resize (int n, int allocChunk=0)
 Checks size of receiver towards requested bounds.
void preallocate (int futureSize)
 Preallocates receiver to given futureSize if larger then allocatedSize.
void followedBy (const IntArray &b, int allocChunk=0)
 Appends array b at the end of receiver.
void followedBy (const int b, int allocChunk=0)
 Appends given Number at the end of receiver.
int giveSize () const
bool isEmpty () const
 Checks if receiver is empty (i.e., zero sized).
bool containsOnlyZeroes () const
 Checks if receiver is all zero.
int findSorted (int value) const
 Finds the first occurrence of given value, assuming that the receiver is sorted.
int minimum () const
 Finds the minimum component in the array.
int maximum () const
 Finds the maximum component in the array.
bool containsSorted (int value) const
 Checks if sorted receiver contains a given value.
int insertSorted (int value, int allocChunk=0)
 Inserts given value into a receiver, which is assumed to be sorted.
int insertSortedOnce (int value, int allocChunk=0)
 Inserts given value into a receiver, which is assumed to be sorted.
void eraseSorted (int value)
 Erase the element of given value.
int findCommonValuesSorted (const IntArray &iarray, IntArray &common, int allocChunk=0) const
 Extracts common values in receiver and iarray.
int findFirstIndexOf (int value) const
 Finds index of first occurrence of given value in array.
bool contains (int value) const
int insertOnce (int p)
 Insert once (does not make any assumption about receiver state or ordering, quite inefficient).
void erase (int pos)
 Erase the element at given position (1-based index) Receiver will shrink accordingly, the values at positions (pos+1,...,size) will be moved to positions (pos,...,size-1)
void addSubVector (const IntArray &src, int si)
 Add given array to receiver values starting at position si.
void copySubVector (const IntArray &src, int si)
 Copy given array to receiver values starting at position si.
void setValues (int n,...)
 Sets the array to be a sequence of values.
void add (int val)
 Adds given scalar to all values of receiver.
void zero ()
 Sets all component to zero.
void printYourself () const
 Prints receiver on stdout.
int * givePointer () const
 Breaks encapsulation.
contextIOResultType storeYourself (DataStream *stream, ContextMode mode) const
 Stores array to output stream.
contextIOResultType restoreYourself (DataStream *stream, ContextMode mode)
 Restores array from image on stream.
Methods for packing/unpacking to/from communication buffer
int packToCommBuffer (CommunicationBuffer &buff) const
 Packs receiver into communication buffer.
int unpackFromCommBuffer (CommunicationBuffer &buff)
 Unpacks receiver from communication buffer.
int givePackSize (CommunicationBuffer &buff)
 Returns how much space is needed to pack receivers message.

Private Attributes

int size
 Size of array.
int allocatedSize
 Allocated size for array.
int * values
 Stored values.

Detailed Description

Class implementing an array of integers.

Array can grow or shrink to desired dimension. The lower value index of array is 1, upper depends on array size.

Tasks:

The allocatedSize variable to allow dynamic rescaling of array size possibly without memory reallocation. At startup an array occupies space given by allocatedSpace = size. Then there can be further request for resizing array to smaller dimension then we only change size variable, but allocatedSize variable remain untouched - expecting possible array grow and then re-using previously allocated space. if further request for growing then is necessary memory reallocation. This process is controlled in resize member function.

Definition at line 70 of file intarray.h.


Constructor & Destructor Documentation

oofem::IntArray::IntArray ( int  n = 0)

Constructor for zero sized array.

Definition at line 54 of file intarray.C.

References allocatedSize, oofem::allocInt(), size, and values.

Copy constructor. Creates the array from another array.

Definition at line 66 of file intarray.C.

References allocatedSize, oofem::allocInt(), size, and values.

Destructor.

Definition at line 86 of file intarray.C.

References oofem::freeInt(), and values.


Member Function Documentation

void oofem::IntArray::add ( int  val)

Adds given scalar to all values of receiver.

Parameters:
valValue to add.

Definition at line 132 of file intarray.C.

References size, and values.

void oofem::IntArray::addSubVector ( const IntArray src,
int  si 
)

Add given array to receiver values starting at position si.

Parameters:
srcArray to add from.
siIndex to start adding from.

Definition at line 485 of file intarray.C.

References at(), giveSize(), and resize().

int& oofem::IntArray::at ( int  i) [inline]

Coefficient access function.

Returns l-value of coefficient at given position of the receiver.

Parameters:
iPosition of coefficient in array.
Returns:
Value at position.

Definition at line 100 of file intarray.h.

References values.

Referenced by oofem::MMAContainingElementProjection::__init(), oofem::MMALeastSquareProjection::__init(), oofem::MMAShapeFunctProjection::__init(), oofem::RandomMaterialExtensionInterface::_generateStatusVariables(), oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::FETIBoundaryDofManager::addPartition(), oofem::ParmetisLoadBalancer::addSharedDofmanPartitions(), addSubVector(), oofem::SymmetryBarrier::applyConstraint(), oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::NRSolver::applyConstraintsToStiffness(), oofem::SloanGraph::askNewOptimalNumbering(), oofem::SpoolesSparseMtrx::assemble(), oofem::SkylineUnsym::assemble(), oofem::DynCompRow::assemble(), oofem::PetscSparseMtrx::assemble(), oofem::DynCompCol::assemble(), oofem::DSSMatrix::assemble(), oofem::WeakPeriodicbc::assemble(), oofem::Skyline::assemble(), oofem::SymCompCol::assemble(), oofem::CompCol::assemble(), oofem::FloatMatrix::assemble(), oofem::FloatArray::assemble(), oofem::SurfaceTensionBoundaryCondition::assembleVector(), oofem::WeakPeriodicbc::assembleVector(), oofem::MixedGradientPressureNeumann::assembleVector(), oofem::EngngModel::assembleVectorFromDofManagers(), oofem::EngngModel::assembleVectorFromElements(), oofem::Skyline::at(), oofem::FloatMatrix::beSubMatrixOf(), oofem::FloatMatrix::beSubMatrixOfSizeOf(), oofem::Subdivision::RS_Tetra::bisect(), oofem::SkylineUnsym::buildInternalStructure(), oofem::DynCompRow::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::DynCompCol::buildInternalStructure(), oofem::DSSMatrix::buildInternalStructure(), oofem::Skyline::buildInternalStructure(), oofem::SymCompCol::buildInternalStructure(), oofem::CompCol::buildInternalStructure(), oofem::NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::StructuralEngngModel::buildReactionTable(), oofem::Subdivision::RS_Node::buildTopLevelNodeConnectivity(), oofem::ParmetisLoadBalancer::calculateLoadTransfer(), oofem::PolylineNonlocalBarrier::calculateMinimumDistanceFromBoundary(), oofem::MacroLSpace::changeMicroBoundaryConditions(), oofem::RigidArmNode::checkConsistency(), oofem::Node::checkConsistency(), oofem::NRSolver::checkConvergence(), oofem::RCM2Material::checkForNewActiveCracks(), oofem::RCM2Material::checkIfClosedCracks(), oofem::RowColumn::checkSizeTowards(), oofem::SkylineUnsym::checkSizeTowards(), oofem::FloatArray::checkSizeTowards(), oofem::MPlasticMaterial::closestPointReturn(), oofem::MPlasticMaterial2::closestPointReturn(), oofem::MPlasticMaterial::computeAlgorithmicModuli(), oofem::MPlasticMaterial2::computeAlgorithmicModuli(), oofem::TR1_2D_SUPG_AXI::computeBCLhsPressureTerm_MB(), oofem::SUPGElement::computeBCLhsPressureTerm_MB(), oofem::SUPGElement::computeBCLhsPressureTerm_MC(), oofem::TR1_2D_SUPG_AXI::computeBCLhsTerm_MB(), oofem::SUPGElement::computeBCLhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MB(), oofem::SUPGElement2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MC(), oofem::SUPGElement2::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MC(), oofem::TransportElement::computeBCSubMtrxAt(), oofem::TransportElement::computeBCSubVectorAt(), oofem::QSpaceGrad::computeBkappaMatrixAt(), oofem::PlaneStress2dXfem::computeBmatrixAt(), oofem::Element::computeBoundaryVectorOf(), oofem::StructuralElementEvaluator::computeConsistentMassMatrix(), oofem::StructuralElement::computeConsistentMassMatrix(), oofem::TR1_2D_CBS::computeConvectionTermsI(), oofem::TR21_2D_SUPG::computeCoordsOfEdge(), oofem::MDM::computeDamageOnPlane(), oofem::CylindricalALM::computeDeltaLambda(), oofem::TR1_2D_CBS::computeDensityRhsVelocityTerms(), oofem::TR1_2D_CBS::computeDiffusionTermsI(), oofem::GradDpElement::computeDisplacementDegreesOfFreedom(), oofem::FEInterpolation2d::computeEdgeMapping(), oofem::FEInterpolation3d::computeEdgeMapping(), oofem::CCTPlate::computeEgdeNMatrixAt(), oofem::XfemManager::computeFictPosition(), oofem::HTSelement::computeForceLoadVector(), oofem::FEI3dHexaQuad::computeGlobalSurfaceMapping(), oofem::TransportElement::computeInternalSourceRhsSubVectorAt(), oofem::TR21_2D_SUPG::computeIntersection(), oofem::Node::computeL2GTransformation(), oofem::CCTPlate::computeLoadLEToLRotationMatrix(), oofem::Quad1Mindlin::computeLoadLEToLRotationMatrix(), oofem::L4Axisymm::computeLoadLEToLRotationMatrix(), oofem::PlaneStress2d::computeLoadLEToLRotationMatrix(), oofem::Quad1MindlinShell3D::computeLoadLEToLRotationMatrix(), oofem::QSpace::computeLoadLSToLRotationMatrix(), oofem::LSpace::computeLoadLSToLRotationMatrix(), oofem::Tr1Darcy::computeLoadVector(), oofem::Tr1BubbleStokes::computeLoadVector(), oofem::Tr21Stokes::computeLoadVector(), oofem::Tet1BubbleStokes::computeLoadVector(), oofem::Tet21Stokes::computeLoadVector(), oofem::Node::computeLoadVectorAt(), oofem::DofManager::computeLoadVectorAt(), oofem::FEI2dTrLin::computeLocalEdgeMapping(), oofem::FEI2dQuadConst::computeLocalEdgeMapping(), oofem::FEI2dTrConst::computeLocalEdgeMapping(), oofem::FEI3dTetLin::computeLocalEdgeMapping(), oofem::FEI2dQuadLin::computeLocalEdgeMapping(), oofem::FEI2dTrQuad::computeLocalEdgeMapping(), oofem::FEI3dTrQuad::computeLocalEdgeMapping(), oofem::FEI2dQuadQuad::computeLocalEdgeMapping(), oofem::StructuralElement::computeLocalForceLoadVector(), oofem::FEI3dTetLin::computeLocalSurfaceMapping(), oofem::FEI3dTetQuad::computeLocalSurfaceMapping(), oofem::FEI3dHexaQuad::computeLocalSurfaceMapping(), oofem::StructuralElementEvaluator::computeLumpedMassMatrix(), oofem::StructuralElement::computeLumpedMassMatrix(), oofem::DofManager::computeM2LTransformation(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::RigidArmNode::computeMasterContribution(), oofem::XfemManager::computeNodeEnrichmentType(), oofem::GradDpElement::computeNonlocalDegreesOfFreedom(), oofem::PlaneStress2dXfem::computeNumberOfDofs(), oofem::TR1_2D_CBS::computeNumberOfNodalPrescribedTractionPressureContributions(), oofem::SPRNodalRecoveryModel::computePatch(), oofem::TR1_2D_CBS::computePrescribedTractionPressure(), oofem::J2MPlasticMaterial::computeReducedGradientMatrix(), oofem::J2plasticMaterial::computeReducedGradientMatrix(), oofem::Masonry02::computeReducedHardeningVarsLamGradient(), oofem::DruckerPragerCutMat::computeReducedHardeningVarsLamGradient(), oofem::Masonry02::computeReducedHardeningVarsSigmaGradient(), oofem::J2Mat::computeReducedSSGradientMatrix(), oofem::MPlasticMaterial::computeResidualVector(), oofem::MPlasticMaterial2::computeResidualVector(), oofem::StructuralElement::computeResultingIPEigenstrainAt(), oofem::StructuralElement::computeResultingIPTemperatureAt(), oofem::Shell7Base::computeStiffnessMatrix(), oofem::Masonry02::computeStrainHardeningVarsIncrement(), oofem::StructuralElementEvaluator::computeStrainVector(), oofem::J2MPlasticMaterial::computeStressSpaceHardeningVars(), oofem::J2plasticMaterial::ComputeStressSpaceHardeningVars(), oofem::FEInterpolation3d::computeSurfaceMapping(), oofem::StokesFlowVelocityHomogenization::computeTangent(), oofem::MixedGradientPressureNeumann::computeTangents(), oofem::StructuralElement::condense(), oofem::StressStrainBaseVector::convertFromFullForm(), oofem::CylindricalALM::convertHPCMap(), oofem::StressStrainBaseVector::convertToFullForm(), copySubVector(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::MPlasticMaterial::cuttingPlaneReturn(), oofem::MPlasticMaterial2::cuttingPlaneReturn(), oofem::ParmetisLoadBalancer::determineDofManState(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::SPRNodalRecoveryModel::determineValuesFromPatch(), oofem::OctantRec::divideLocally(), oofem::LEPlic::doCellDLS(), oofem::LEPlic::doInterfaceRemapping(), oofem::GPExportModule::doOutput(), oofem::HOMExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::VTKXMLExportModule::doOutput(), oofem::drawIGAPatchDeformedGeometry(), oofem::IGAElement::drawRawGeometry(), oofem::InterfaceElem2dQuad::drawScalar(), oofem::PlaneStress2dXfem::drawScalar(), oofem::InterfaceElem1d::drawScalar(), oofem::Quad1_ht::drawScalar(), oofem::QTrPlaneStrain::drawScalar(), oofem::QTrPlaneStress2d::drawScalar(), oofem::BsplinePlaneStressElement::drawScalar(), oofem::CohesiveSurface3d::drawScalar(), oofem::Axisymm3d::drawScalar(), oofem::Tetrah1_ht::drawScalar(), oofem::QPlaneStrain::drawScalar(), oofem::QPlaneStress2d::drawScalar(), oofem::TrPlaneStress2d::drawScalar(), oofem::Truss1d::drawScalar(), oofem::Brick1_ht::drawScalar(), oofem::TR_SHELL01::drawScalar(), oofem::L4Axisymm::drawScalar(), oofem::LTRSpace::drawScalar(), oofem::TR1_2D_SUPG2_AXI::drawScalar(), oofem::LIBeam3d2::drawScalar(), oofem::PlaneStress2d::drawScalar(), oofem::Quad1PlaneStrain::drawScalar(), oofem::NURBSPlaneStressElement::drawScalar(), oofem::TR21_2D_SUPG::drawScalar(), oofem::Quad10_2D_SUPG::drawScalar(), oofem::LSpace::drawScalar(), oofem::TR1_2D_CBS::drawScalar(), oofem::TrPlaneStrain::drawScalar(), oofem::CCTPlate::drawScalar(), oofem::TSplinePlaneStressElement::drawScalar(), oofem::TR1_2D_SUPG2::drawScalar(), oofem::TR1_2D_SUPG::drawScalar(), oofem::NURBSSpace3dElement::drawScalar(), oofem::LSpace::drawTriad(), oofem::FEI2dTrLin::edgeComputeLength(), oofem::FEI2dTrConst::edgeComputeLength(), oofem::FEI2dQuadLin::edgeComputeLength(), oofem::FEI2dQuadConst::edgeComputeLength(), oofem::FEI3dTetLin::edgeComputeLength(), oofem::FEI3dHexaLin::edgeComputeLength(), oofem::FEI2dTrQuad::edgeEvaldNds(), oofem::FEI3dTetLin::edgeEvaldNdx(), oofem::Shell7Base::edgeEvalInitialCovarBaseVectorsAt(), oofem::Shell7Base::edgeEvalInitialDirectorAt(), oofem::FEI2dTrLin::edgeEvalNormal(), oofem::FEI2dQuadLin::edgeEvalNormal(), oofem::FEI2dTrQuad::edgeEvalNormal(), oofem::FEI2dQuadQuad::edgeEvalNormal(), oofem::Shell7Base::edgeGiveInitialSolutionVector(), oofem::FEI3dTetLin::edgeLocal2global(), oofem::FEI3dHexaLin::edgeLocal2global(), oofem::FEI3dWedgeQuad::edgeLocal2global(), oofem::FEI2dTrLin::edgeLocal2global(), oofem::FEI3dWedgeLin::edgeLocal2global(), oofem::FEI2dTrConst::edgeLocal2global(), oofem::FEI2dQuadLin::edgeLocal2global(), oofem::FEI2dTrQuad::edgeLocal2global(), oofem::FEI2dQuadQuad::edgeLocal2global(), oofem::TransportElement::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TR1_2D_CBS::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TR1_2D_SUPG2::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TR1_2D_SUPG::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::Line2BoundaryElement::EIPrimaryUnknownMI_computePrimaryUnknownVectorAtLocal(), oofem::LinearStatic::estimateMaxPackSize(), oofem::FETISolver::estimateMaxPackSize(), oofem::NonLinearStatic::estimateMaxPackSize(), oofem::NonLinearDynamic::estimateMaxPackSize(), oofem::NlDEIDynamic::estimateMaxPackSize(), oofem::EIPrimaryUnknownMapper::evaluateAt(), oofem::InternalVariableField::evaluateAt(), oofem::RampFunction::evaluateDerivativeAt(), oofem::SloanGraph::evaluateNodeDistances(), oofem::Subdivision::exchangeSharedEdges(), oofem::VTKXMLExportModule::exportCellVarAs(), oofem::VTKExportModule::exportCellVars(), oofem::VTKXMLExportModule::exportCellVars(), oofem::POIExportModule::exportIntVarAs(), oofem::VTKExportModule::exportIntVarAs(), oofem::VTKXMLExportModule::exportIntVarAs(), oofem::POIExportModule::exportIntVars(), oofem::VTKExportModule::exportIntVars(), oofem::VTKXMLExportModule::exportIntVars(), oofem::VTKXMLExportModule::exportPointDataHeader(), oofem::POIExportModule::exportPrimaryVars(), oofem::VTKExportModule::exportPrimaryVars(), oofem::VTKXMLExportModule::exportPrimaryVars(), oofem::VTKExportModule::exportPrimVarAs(), oofem::VTKXMLExportModule::exportPrimVarAs(), oofem::SloanGraph::extractCandidates(), oofem::Skyline::factorized(), oofem::NonlocalMaterialWTP::fastRebuildNonlocalTables(), findCommonValuesSorted(), oofem::DarcyFlow::forceEquationNumbering(), oofem::SUPG::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::SloanLevelStructure::formYourself(), oofem::Subdivision::RS_Triangle::generate(), oofem::Subdivision::RS_Tetra::generate(), oofem::VTKExportModule::getDofManPrimaryVariable(), oofem::XfemManager::getInteractedEI(), oofem::oofegGraphicContext::getMaterialModelFilterState(), oofem::MPlasticMaterial2::getNewPopulation(), oofem::MPlasticMaterial2::getPopulationSignature(), oofem::VTKXMLExportModule::getPrimaryVariable(), oofem::SpatialLocalizer::giveAllElementsWithNodesWithinBox(), oofem::RefinedElement::giveBcDofArray1D(), oofem::RefinedElement::giveBcDofArray2D(), oofem::RefinedElement::giveBcDofArray3D(), oofem::RefinedElement::giveBoundaryFlagArray(), oofem::RefinedElement::giveBoundaryLoadArray1D(), oofem::RefinedElement::giveBoundaryLoadArray2D(), oofem::RefinedElement::giveBoundaryLoadArray3D(), oofem::Element::giveBoundaryLocationArray(), oofem::OctantRec::giveChildContainingPoint(), oofem::OctreeSpatialLocalizer::giveClosestIPWithinOctant(), oofem::FETIBoundaryDofManager::giveCodeNumber(), oofem::RefinedElement::giveCompatibleBcDofArray(), oofem::FETIBoundaryDofManager::giveCompleteLocationArray(), oofem::DofManager::giveCompleteLocationArray(), oofem::DofManager::giveCompleteMasterDofIDArray(), oofem::CemhydMat::giveConcreteCapacity(), oofem::CemhydMat::giveConcreteDensity(), oofem::MPlasticMaterial::giveConsistentStiffnessMatrix(), oofem::MPlasticMaterial2::giveConsistentStiffnessMatrix(), oofem::Skyline::GiveCopy(), oofem::RCM2Material::giveCrackedStiffnessMatrix(), oofem::Element::giveDofManagerNumber(), oofem::CombinedZZSIRemeshingCriteria::giveDofManDensity(), oofem::ZZRemeshingCriteria::giveDofManDensity(), oofem::HuertaRemeshingCriteria::giveDofManDensity(), oofem::PlaneStress2dXfem::giveDofManDofIDMask(), oofem::QTRSpaceGrad::giveDofManDofIDMask(), oofem::ParmetisLoadBalancer::giveDofManState(), oofem::LIBeam2d::giveEdgeDofMapping(), oofem::LIBeam2dNL::giveEdgeDofMapping(), oofem::CCTPlate::giveEdgeDofMapping(), oofem::LIBeam3d::giveEdgeDofMapping(), oofem::Truss2d::giveEdgeDofMapping(), oofem::LIBeam3dNL::giveEdgeDofMapping(), oofem::QPlaneStress2d::giveEdgeDofMapping(), oofem::LIBeam3dNL2::giveEdgeDofMapping(), oofem::L4Axisymm::giveEdgeDofMapping(), oofem::Truss3d::giveEdgeDofMapping(), oofem::LIBeam3d2::giveEdgeDofMapping(), oofem::QTrPlaneStress2d::giveEdgeDofMapping(), oofem::Axisymm3d::giveEdgeDofMapping(), oofem::PlaneStress2d::giveEdgeDofMapping(), oofem::Quad1PlaneStrain::giveEdgeDofMapping(), oofem::LSpace::giveEdgeDofMapping(), oofem::TrPlaneStrain::giveEdgeDofMapping(), oofem::TrPlaneStress2d::giveEdgeDofMapping(), oofem::LTRSpace::giveEdgeDofMapping(), oofem::MPlasticMaterial::giveElastoPlasticStiffnessMatrix(), oofem::MPlasticMaterial2::giveElastoPlasticStiffnessMatrix(), oofem::VTKExportModule::giveElementCell(), oofem::VTKXMLExportModule::giveElementCell(), oofem::DummySpatialLocalizer::giveElementClosestToPoint(), oofem::OctreeSpatialLocalizer::giveElementCloseToPointWithinOctant(), oofem::OctreeSpatialLocalizer::giveElementContainingPoint(), oofem::Tr21Stokes::giveElementFMatrix(), oofem::ConnectivityTable::giveElementNeighbourList(), oofem::NonlocalMaterialWTP::giveElementNonlocalDepArry(), oofem::ParmetisLoadBalancer::giveElementPartition(), oofem::OctreeSpatialLocalizer::giveElementsWithIPWithinBox(), oofem::NodalRecoveryModel::giveElementVirtualRegionNumber(), oofem::ActiveDof::giveEquationNumbers(), oofem::Dof::giveEquationNumbers(), oofem::FiberedCrossSection::giveFiberMaterialStiffnessMatrix(), oofem::OOFEMTXTInputRecord::giveField(), oofem::SimpleCrossSection::giveFullCharacteristicVector(), oofem::StructuralMaterial::giveFullCharacteristicVector(), oofem::ParmetisLoadBalancer::giveGlobalElementNumber(), oofem::NonlocalMaterialExtensionInterface::giveInputRecordString(), oofem::FiberedCrossSection::GiveIntegrated3dBeamStress(), oofem::LayeredCrossSection::giveIntegrated3dShellStress(), oofem::StructuralElementEvaluator::giveIntegrationElementLocalCodeNumbers(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::HydratingConcreteMat::giveIntVarCompFullIndx(), oofem::TR_SHELL01::giveIntVarCompFullIndx(), oofem::HydratingHeMoMaterial::giveIntVarCompFullIndx(), oofem::TrPlaneStrRot3d::giveIntVarCompFullIndx(), oofem::CCTPlate3d::giveIntVarCompFullIndx(), oofem::RerShell::giveIntVarCompFullIndx(), oofem::CBSElement::giveIntVarCompFullIndx(), oofem::HydratingIsoHeatMaterial::giveIntVarCompFullIndx(), oofem::SUPGElement2::giveIntVarCompFullIndx(), oofem::TransportElement::giveIntVarCompFullIndx(), oofem::CemhydMat::giveIntVarCompFullIndx(), oofem::FiberedCrossSection::giveIntVarCompFullIndx(), oofem::Quad10_2D_SUPG::giveIntVarCompFullIndx(), oofem::TR1_2D_CBS::giveIntVarCompFullIndx(), oofem::MisesMat::giveIntVarCompFullIndx(), oofem::DruckerPragerCutMat::giveIntVarCompFullIndx(), oofem::PlasticMaterial::giveIntVarCompFullIndx(), oofem::RankineMat::giveIntVarCompFullIndx(), oofem::CompoDamageMat::giveIntVarCompFullIndx(), oofem::IsoInterfaceDamageMaterial::giveIntVarCompFullIndx(), oofem::PerfectlyPlasticMaterial::giveIntVarCompFullIndx(), oofem::TR1_2D_SUPG2::giveIntVarCompFullIndx(), oofem::TR1_2D_SUPG::giveIntVarCompFullIndx(), oofem::FluidDynamicMaterial::giveIntVarCompFullIndx(), oofem::MPlasticMaterial::giveIntVarCompFullIndx(), oofem::SUPGElement::giveIntVarCompFullIndx(), oofem::RCM2Material::giveIntVarCompFullIndx(), oofem::IsotropicDamageMaterial::giveIntVarCompFullIndx(), oofem::TrabBone3D::giveIntVarCompFullIndx(), oofem::MPlasticMaterial2::giveIntVarCompFullIndx(), oofem::MDM::giveIntVarCompFullIndx(), oofem::StructuralMaterial::giveIntVarCompFullIndx(), oofem::DruckerPragerPlasticitySM::giveIntVarCompFullIndx(), oofem::Element::giveIntVarCompFullIndx(), oofem::ConcreteDPM::giveIntVarCompFullIndx(), oofem::HellmichMaterial::giveIntVarCompFullIndx(), oofem::ConcreteDPM2::giveIntVarCompFullIndx(), oofem::RCM2Material::giveIPValue(), oofem::Subdivision::RS_Element::giveIrregular(), oofem::CemhydMat::giveIsotropicConductivity(), oofem::BSplineInterpolation::giveKnotSpanBasisFuncMask(), oofem::IGAElement::giveKnotSpanParallelMode(), oofem::LayeredCrossSection::giveLayerMaterial(), oofem::LayeredCrossSection::giveLayerMaterialStiffnessMatrix(), oofem::OctreeSpatialLocalizer::giveListOfTerminalCellsInBoundingBox(), oofem::DirectErrorIndicatorRC::giveLocalDofManDensity(), oofem::DirectErrorIndicatorRC::giveLocalDofManIndicator(), oofem::ParmetisLoadBalancer::giveLocalElementNumber(), oofem::TR21_2D_SUPG::giveLocalPressureDofMap(), oofem::Quad10_2D_SUPG::giveLocalPressureDofMap(), oofem::TR1_2D_SUPG::giveLocalPressureDofMap(), oofem::TR21_2D_SUPG::giveLocalVelocityDofMap(), oofem::Quad10_2D_SUPG::giveLocalVelocityDofMap(), oofem::TR1_2D_SUPG::giveLocalVelocityDofMap(), oofem::PlaneStress2dXfem::giveLocationArray(), oofem::DofManager::giveLocationArray(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::SlaveDof::giveMasterDof(), oofem::ActiveDof::giveMasterDofManArray(), oofem::SimpleSlaveDof::giveMasterDofManArray(), oofem::Dof::giveMasterDofManArray(), oofem::DofManager::giveMasterDofMans(), oofem::OctreeSpatialLocalizer::giveMaxTreeDepthFrom(), oofem::Subdivision::RS_Element::giveNeighbor(), oofem::PetscNatural2GlobalOrdering::giveNewEq(), oofem::PetscNatural2LocalOrdering::giveNewEq(), oofem::SUPG::giveNewEquationNumber(), oofem::EngngModel::giveNewEquationNumber(), oofem::SUPG::giveNewPrescribedEquationNumber(), oofem::EngngModel::giveNewPrescribedEquationNumber(), oofem::LEPlic::giveNodalScalarRepresentation(), oofem::Subdivision::RS_Element::giveNode(), oofem::ConnectivityTable::giveNodeNeighbourList(), oofem::OctreeSpatialLocalizer::giveNodesWithinBox(), oofem::RCM2Material::giveNormalElasticStiffnessMatrix(), oofem::EngngModel::giveNumberOfDomainEquations(), oofem::EngngModel::giveNumberOfPrescribedDomainEquations(), oofem::DofManager::giveNumberOfPrimaryMasterDofs(), oofem::OctreeSpatialLocalizer::giveOctreeMaskValue(), oofem::CemhydMatStatus::GivePower(), oofem::DofManager::givePrescribedUnknownVector(), oofem::RCM2Material::giveRealPrincipalStressVector3d(), oofem::LayeredCrossSection::giveRealStresses(), oofem::FiberedCrossSection::giveRealStresses(), oofem::CompoDamageMat::giveRealStressVector(), oofem::SimpleCrossSection::giveReducedCharacteristicVector(), oofem::StructuralMaterial::giveReducedCharacteristicVector(), oofem::Subdivision::RS_Element::giveSharedEdge(), oofem::FETIBoundaryDofManager::giveSharedPartition(), oofem::Subdivision::RS_SharedEdge::giveSharedPartitions(), oofem::Subdivision::RS_Triangle::giveSideNodes(), oofem::Subdivision::RS_Tetra::giveSideNodes(), oofem::J2Mat::giveStressBackVector(), oofem::FiberedCrossSection::giveStressStrainMask(), oofem::LayeredCrossSection::giveStressStrainMask(), oofem::Tr2Shell7::giveSurfaceDofMapping(), oofem::QSpace::giveSurfaceDofMapping(), oofem::LSpace::giveSurfaceDofMapping(), oofem::LTRSpace::giveSurfaceDofMapping(), oofem::RCM2MaterialStatus::giveTempCrackStatus(), oofem::DofManager::giveUnknownVector(), oofem::DofManager::giveUnknownVectorOfType(), oofem::ParmetisLoadBalancer::handleMasterSlaveDofManLinks(), oofem::DynCompRow::ILUPYourself(), oofem::Subdivision::RS_Node::importConnectivity(), oofem::Subdivision::RS_Triangle::importConnectivity(), oofem::Subdivision::RS_Tetra::importConnectivity(), oofem::DummySpatialLocalizer::init(), oofem::PetscNatural2GlobalOrdering::init(), oofem::PetscNatural2LocalOrdering::init(), oofem::oofegGraphicContext::init(), oofem::ParmetisLoadBalancer::initGlobalParmetisElementNumbering(), oofem::CompCol_ILUPreconditioner::initialize(), oofem::SlaveDof::initialize(), oofem::FastMarchingMethod::initialize(), oofem::SloanGraph::initialize(), oofem::BSplineInterpolation::initializeFrom(), oofem::StationaryTransportProblem::initializeFrom(), oofem::TR21_2D_SUPG::initializeFrom(), oofem::TwoFluidMaterial::initializeFrom(), oofem::WeakPeriodicbc::initializeFrom(), oofem::IGAElement::initializeFrom(), oofem::Load::initializeFrom(), oofem::IGATSplineElement::initializeFrom(), oofem::CylindricalALM::initializeFrom(), oofem::DofManager::initializeFrom(), oofem::LoadBalancer::initializeWtp(), oofem::SPRNodalRecoveryModel::initPatch(), oofem::NRSolver::initPrescribedEqs(), oofem::NodalAveragingRecoveryModel::initRegionMap(), oofem::ZZNodalRecoveryModel::initRegionMap(), oofem::SPRNodalRecoveryModel::initRegionMap(), oofem::VTKExportModule::initRegionNodeNumbering(), oofem::NodalRecoveryModel::initRegionNodeNumbering(), oofem::VTKXMLExportModule::initRegionNodeNumbering(), oofem::SloanGraph::initStatusAndPriority(), oofem::RCM2MaterialStatus::initTempStatus(), oofem::DynCompRow::insertColInRow(), oofem::OctreeSpatialLocalizer::insertElementIntoOctree(), oofem::OctreeSpatialLocalizer::insertElementsUsingNodalConnectivitiesIntoOctree(), oofem::DynCompCol::insertRowInColumn(), oofem::ConnectivityTable::instanciateConnectivityTable(), oofem::XfemManager::instanciateYourself(), oofem::PolylineNonlocalBarrier::isActivated(), oofem::Skyline::isAllocatedAt(), oofem::LEPlicElementInterface::isBoundary(), oofem::Load::isDofExcluded(), oofem::EnrichmentItem::isDofManEnriched(), oofem::DofManager::isLocal(), oofem::Subdivision::isNodeLocalIrregular(), oofem::Subdivision::isNodeLocalSharedIrregular(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::Skyline::ldl_feti_sky(), oofem::Tet1_3D_SUPG::LS_PCS_computeF(), oofem::TR21_2D_SUPG::LS_PCS_computeF(), oofem::TR1_2D_SUPG::LS_PCS_computeF(), oofem::Tet1_3D_SUPG::LS_PCS_computeS(), oofem::TR21_2D_SUPG::LS_PCS_computeS(), oofem::TR1_2D_SUPG::LS_PCS_computeS(), oofem::VTKXMLExportModule::makeFullForm(), oofem::PetscNatural2GlobalOrdering::map2New(), oofem::PetscNatural2LocalOrdering::map2New(), oofem::PetscNatural2GlobalOrdering::map2Old(), oofem::PetscNatural2LocalOrdering::map2Old(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::FETISolver::masterMapDirectionVector(), oofem::FETISolver::masterMapGammas(), oofem::FETISolver::masterMapPPVector(), oofem::FETISolver::masterMapQQProduct(), oofem::FETISolver::masterMapRBM(), oofem::FETISolver::masterMapResiduals(), oofem::FETISolver::masterMapSolution(), oofem::FETISolver::masterUnpackQQProduct(), oofem::FETISolver::masterUnpackRBM(), oofem::DofManager::mergePartitionList(), oofem::TriangleMesherInterface::meshPSLG(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::IsotropicDamageMaterial1::MMI_map(), oofem::MDM::MMI_map(), oofem::IDNLMaterial::NonlocalMaterialStiffnessInterface_showSparseMtrxStructure(), oofem::Subdivision::RS_Node::numberSharedEdges(), oofem::Subdivision::RS_Tetra::numberSharedEdges(), oofem::FETISolver::packDirectionVector(), oofem::EngngModel::packDofManagers(), oofem::FETISolver::packGammas(), oofem::Subdivision::packIrregularSharedGlobnums(), oofem::FETISolver::packPPVector(), oofem::FETISolver::packRBM(), oofem::EngngModel::packRemoteElementData(), oofem::Subdivision::packRemoteElements(), oofem::FETISolver::packResiduals(), oofem::NodalAveragingRecoveryModel::packSharedDofManData(), oofem::ZZNodalRecoveryModel::packSharedDofManData(), oofem::SPRNodalRecoveryModel::packSharedDofManData(), oofem::DirectErrorIndicatorRC::packSharedDofManLocalDensities(), oofem::DirectErrorIndicatorRC::packSharedDofManLocalIndicatorVals(), oofem::Subdivision::packSharedEdges(), oofem::Subdivision::packSharedIrregulars(), oofem::FETISolver::packSolution(), oofem::RCSDEMaterialStatus::printOutputAt(), oofem::RCSDMaterialStatus::printOutputAt(), oofem::MPlasticMaterial2Status::printOutputAt(), oofem::RCM2MaterialStatus::printOutputAt(), oofem::StructuralEngngModel::printReactionForces(), oofem::NRSolver::printState(), printYourself(), oofem::ProblemCommunicator::quickSortPartition(), oofem::quickSortPartition(), oofem::Skyline::rbmodes(), oofem::NonlocalMaterialExtensionInterface::rebuildNonlocalPointTable(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::SPRNodalRecoveryModel::recoverValues(), oofem::LevelSetPCS::redistance(), oofem::RefinedMesh::refineMeshGlobally(), oofem::SlaveDof::restoreContext(), oofem::DofManager::restoreContext(), oofem::Element::restoreContext(), oofem::FiberedCrossSection::restoreIPContext(), oofem::LayeredCrossSection::restoreIPContext(), oofem::StokesFlowVelocityHomogenization::rveGiveCharacteristicData(), oofem::SlaveDof::saveContext(), oofem::Element::saveContext(), oofem::FiberedCrossSection::saveIPContext(), oofem::LayeredCrossSection::saveIPContext(), oofem::oofegGraphicContext::setActiveProblem(), oofem::FETIBoundaryDofManager::setCodeNumbers(), oofem::GradDpElement::setDisplacementLocationArray(), oofem::SkylineUnsym::setInternalStructure(), oofem::Skyline::setInternalStructure(), oofem::Subdivision::RS_Element::setIrregular(), oofem::MicroMaterial::setMacroProperties(), oofem::oofegGraphicContext::setMaterialModelFilterState(), oofem::Subdivision::RS_Element::setNeighbor(), oofem::GradDpElement::setNonlocalLocationArray(), oofem::EngngModel::setNumberOfEquations(), oofem::NodalRecoveryModel::setRecoveryMode(), oofem::Subdivision::RS_Element::setSharedEdge(), oofem::RCM2MaterialStatus::setTempCrackStatus(), oofem::FETICommunicator::setUpCommunicationMaps(), oofem::FETISolver::setUpCommunicationMaps(), oofem::ProblemCommunicator::setUpCommunicationMapsForElementCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForNodeCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::StructuralElement::showSparseMtrxStructure(), oofem::TriangleMesherInterface::simplifyPSLG(), oofem::ErrorEstimator::skipRegion(), oofem::Subdivision::smoothMesh(), oofem::FreemInterface::smoothNodalDensities(), oofem::LineSearchNM::solve(), oofem::FETISolver::solve(), oofem::FastMarchingMethod::solve(), oofem::NRSolver::solve(), oofem::CylindricalALM::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::DEIDynamic::solveYourselfAt(), oofem::QBrick1_ht::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::Brick1_ht::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::LWedge::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QWedge::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::PlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QTRSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::L4Axisymm::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::Quad1PlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::LSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QTrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TrPlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::Axisymm3d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QTrPlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::LTRSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TR1_2D_CBS::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TR1_2D_SUPG2_AXI::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::CCTPlate::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TR1_2D_SUPG2::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TR1_2D_SUPG::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QBrick1_ht::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::Brick1_ht::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::LWedge::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QWedge::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::PlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QTRSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::Quad1PlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::L4Axisymm::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::LSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QTrPlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TrPlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QTrPlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::Axisymm3d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TrPlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::LTRSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TR1_2D_CBS::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TR1_2D_SUPG2_AXI::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::CCTPlate::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TR1_2D_SUPG2::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TR1_2D_SUPG::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::FEI3dTetLin::surfaceEvalNormal(), oofem::FEI3dHexaLin::surfaceEvalNormal(), oofem::FEI3dHexaQuad::surfaceEvalNormal(), oofem::FEI3dHexaLin::surfaceLocal2global(), oofem::FEI3dTetLin::surfaceLocal2global(), oofem::FEI3dWedgeQuad::surfaceLocal2global(), oofem::FEI3dWedgeLin::surfaceLocal2global(), oofem::FEI3dHexaQuad::surfaceLocal2global(), oofem::Skyline::times(), oofem::DIIDynamic::timesMtrx(), oofem::NonLinearDynamic::timesMtrx(), oofem::Skyline::toFloatMatrix(), oofem::SloanGraph::tryParameters(), oofem::Communicator::unpackAllData(), oofem::FETISolver::unpackDirectionVector(), oofem::EngngModel::unpackDofManagers(), oofem::Subdivision::unpackIrregularSharedGlobnums(), oofem::FETISolver::unpackPPVector(), oofem::EngngModel::unpackRemoteElementData(), oofem::NonlocalMaterialWTP::unpackRemoteElements(), oofem::Subdivision::unpackRemoteElements(), oofem::FETISolver::unpackResiduals(), oofem::NodalAveragingRecoveryModel::unpackSharedDofManData(), oofem::ZZNodalRecoveryModel::unpackSharedDofManData(), oofem::SPRNodalRecoveryModel::unpackSharedDofManData(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalDensities(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalIndicatorVals(), oofem::Subdivision::unpackSharedEdges(), oofem::Subdivision::unpackSharedIrregulars(), oofem::FETISolver::unpackSolution(), oofem::Subdivision::RS_Triangle::update_neighbours(), oofem::Subdivision::RS_Tetra::update_neighbours(), oofem::RCM2Material::updateActiveCrackMap(), oofem::RCM2Material::updateCrackStatus(), oofem::SlaveNode::updateLocalNumbering(), oofem::SlaveDof::updateLocalNumbering(), oofem::Element::updateLocalNumbering(), oofem::LevelSetPCS::updatePosition(), oofem::NodalRecoveryModel::updateRegionRecoveredValues(), oofem::FastMarchingMethod::updateTrialValue(), oofem::SloanGraph::writeOptimalRenumberingTable(), oofem::XfemElementInterface::XfemElementInterface_prepareNodesForDelaunay(), and oofem::XfemElementInterface::XfemElementInterface_updateIntegrationRule().

int oofem::IntArray::at ( int  i) const [inline]

Coefficient access function.

Returns value of coefficient at given position of the receiver.

Parameters:
iposition of coefficient in array.
Returns:
Value at position.

Definition at line 111 of file intarray.h.

References values.

bool oofem::IntArray::contains ( int  value) const [inline]

Checks if receiver is all zero.

Returns:
True is receiver contains only zeroes.

Definition at line 353 of file intarray.C.

References size, and values.

Referenced by oofem::Subdivision::RS_Element::hasIrregulars().

bool oofem::IntArray::containsSorted ( int  value) const [inline]

Checks if sorted receiver contains a given value.

Returns:
True if receiver contains given value.

Definition at line 205 of file intarray.h.

References findSorted().

void oofem::IntArray::copySubVector ( const IntArray src,
int  si 
)
void oofem::IntArray::erase ( int  pos)

Erase the element at given position (1-based index) Receiver will shrink accordingly, the values at positions (pos+1,...,size) will be moved to positions (pos,...,size-1)

Parameters:
posPosition to erase.

Definition at line 336 of file intarray.C.

References size, and values.

Referenced by eraseSorted(), and oofem::DofManager::removePartitionFromList().

void oofem::IntArray::eraseSorted ( int  value)

Erase the element of given value.

If the value is found receiver will shrink accordingly, while preserving a sorted state.

Parameters:
valueValue to erase.

Definition at line 608 of file intarray.C.

References erase(), and findSorted().

Referenced by oofem::Subdivision::RS_Node::eraseConnectedElement().

int oofem::IntArray::findCommonValuesSorted ( const IntArray iarray,
IntArray common,
int  allocChunk = 0 
) const

Extracts common values in receiver and iarray.

Assumes that receiver as well as iarray are sorted. The size of array common is changed accordingly.

Parameters:
iarrayArray to search for values common with receiver.
commonArray of common values.
allocChunkIf reallocation needed, an additional space for allocChunk values will be allocated.
Returns:
Number of common values.

Definition at line 618 of file intarray.C.

References at(), followedBy(), giveSize(), size, and values.

Referenced by oofem::Subdivision::RS_Tetra::bisect(), oofem::Subdivision::exchangeSharedEdges(), oofem::Subdivision::RS_Tetra::numberSharedEdges(), oofem::Subdivision::unpackIrregularSharedGlobnums(), oofem::Subdivision::unpackSharedEdges(), and oofem::Subdivision::unpackSharedIrregulars().

int oofem::IntArray::findFirstIndexOf ( int  value) const

Finds index of first occurrence of given value in array.

Parameters:
valueScanned value.
Returns:
Index of first value in array, otherwise zero.

Definition at line 469 of file intarray.C.

References size, and values.

Referenced by oofem::MMAShapeFunctProjection::__mapVariable(), contains(), oofem::Subdivision::RS_Element::containsNode(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::TransportElement::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TR1_2D_CBS::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TR1_2D_SUPG2::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TR1_2D_SUPG::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::Subdivision::RS_Triangle::generate(), oofem::Subdivision::RS_Tetra::generate(), oofem::DummySpatialLocalizer::giveElementCloseToPoint(), oofem::OctreeSpatialLocalizer::giveElementCloseToPoint(), oofem::OctreeSpatialLocalizer::giveElementCloseToPointWithinOctant(), oofem::DummySpatialLocalizer::giveElementContainingPoint(), oofem::OctreeSpatialLocalizer::giveElementContainingPoint(), oofem::CBSElement::giveIntVarCompFullIndx(), oofem::SUPGElement2::giveIntVarCompFullIndx(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::PetscNatural2LocalOrdering::giveOldEq(), oofem::DofManager::givePartitionsConnectivitySize(), insertOnce(), oofem::MMAShapeFunctProjection::mapVariable(), oofem::TriangleMesherInterface::meshPSLG(), oofem::LoadBalancer::packMigratingData(), oofem::ParmetisLoadBalancer::packSharedDmanPartitions(), oofem::DofManager::removePartitionFromList(), oofem::Subdivision::RS_Tetra::RS_Tetra(), oofem::Subdivision::RS_Triangle::RS_Triangle(), oofem::ProblemCommunicator::setUpCommunicationMapsForElementCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), oofem::Subdivision::smoothMesh(), oofem::ExportModule::testDomainOutput(), and oofem::Subdivision::RS_Tetra::update_neighbours().

int oofem::IntArray::findSorted ( int  value) const

Finds the first occurrence of given value, assuming that the receiver is sorted.

Returns:
Index (1-based), if not present, 0 is returned.

Definition at line 529 of file intarray.C.

References size, and values.

Referenced by containsSorted(), eraseSorted(), and insertSortedOnce().

void oofem::IntArray::followedBy ( const IntArray b,
int  allocChunk = 0 
)
void oofem::IntArray::followedBy ( const int  b,
int  allocChunk = 0 
)

Appends given Number at the end of receiver.

Parameters:
bvalue to be appended.
allocChunkIf reallocation needed, an additional space for allocChunk values will be allocated to prevent excessive reallocation.

Definition at line 300 of file intarray.C.

References allocatedSize, oofem::allocInt(), oofem::freeInt(), size, and values.

Returns how much space is needed to pack receivers message.

Parameters:
buffBuffer used for packing.

Definition at line 684 of file intarray.C.

References oofem::CommunicationBuffer::givePackSize(), and size.

Referenced by oofem::ProblemCommunicator::setUpCommunicationMapsForElementCut(), and oofem::ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode().

int* oofem::IntArray::givePointer ( ) const [inline]
int oofem::IntArray::giveSize ( ) const [inline]
Returns:
Size of receiver.

Definition at line 175 of file intarray.h.

References size.

Referenced by oofem::MMALeastSquareProjection::__init(), oofem::MMAShapeFunctProjection::__init(), oofem::RandomMaterialExtensionInterface::_generateStatusVariables(), oofem::ParmetisLoadBalancer::addSharedDofmanPartitions(), addSubVector(), oofem::NRSolver::applyConstraintsToLoadIncrement(), oofem::NRSolver::applyConstraintsToStiffness(), oofem::SkylineUnsym::assemble(), oofem::DynCompRow::assemble(), oofem::PetscSparseMtrx::assemble(), oofem::DynCompCol::assemble(), oofem::DSSMatrix::assemble(), oofem::WeakPeriodicbc::assemble(), oofem::Skyline::assemble(), oofem::SymCompCol::assemble(), oofem::CompCol::assemble(), oofem::FloatMatrix::assemble(), oofem::FloatArray::assemble(), oofem::SurfaceTensionBoundaryCondition::assembleVector(), oofem::WeakPeriodicbc::assembleVector(), oofem::MixedGradientPressureNeumann::assembleVector(), oofem::EngngModel::assembleVectorFromDofManagers(), oofem::EngngModel::assembleVectorFromElements(), oofem::FloatArray::beSubArrayOf(), oofem::FloatMatrix::beSubMatrixOf(), oofem::FloatMatrix::beSubMatrixOfSizeOf(), oofem::Subdivision::RS_Triangle::bisect(), oofem::Subdivision::RS_Tetra::bisect(), oofem::SkylineUnsym::buildInternalStructure(), oofem::DynCompRow::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::DynCompCol::buildInternalStructure(), oofem::DSSMatrix::buildInternalStructure(), oofem::Skyline::buildInternalStructure(), oofem::SymCompCol::buildInternalStructure(), oofem::CompCol::buildInternalStructure(), oofem::Subdivision::RS_Node::buildTopLevelNodeConnectivity(), oofem::Subdivision::RS_Element::buildTopLevelNodeConnectivity(), oofem::PolylineNonlocalBarrier::calculateMinimumDistanceFromBoundary(), oofem::MacroLSpace::changeMicroBoundaryConditions(), oofem::SlaveNode::checkConsistency(), oofem::RowColumn::checkSizeTowards(), oofem::SkylineUnsym::checkSizeTowards(), oofem::DynCompRow::checkSizeTowards(), oofem::DynCompCol::checkSizeTowards(), oofem::FloatArray::checkSizeTowards(), oofem::TR1_2D_SUPG_AXI::computeBCLhsPressureTerm_MB(), oofem::SUPGElement::computeBCLhsPressureTerm_MB(), oofem::SUPGElement::computeBCLhsPressureTerm_MC(), oofem::TR1_2D_SUPG_AXI::computeBCLhsTerm_MB(), oofem::SUPGElement::computeBCLhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MB(), oofem::SUPGElement2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG2::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG_AXI::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG2_AXI::computeBCRhsTerm_MC(), oofem::SUPGElement2::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MC(), oofem::TransportElement::computeBCSubMtrxAt(), oofem::TransportElement::computeBCSubVectorAt(), oofem::Element::computeBoundaryVectorOf(), oofem::TR1_2D_CBS::computeConvectionTermsI(), oofem::CylindricalALM::computeDeltaLambda(), oofem::TR1_2D_CBS::computeDensityRhsVelocityTerms(), oofem::TR1_2D_CBS::computeDiffusionTermsI(), oofem::Element::computeDofTransformationMatrix(), oofem::FEInterpolation2d::computeEdgeMapping(), oofem::FEInterpolation3d::computeEdgeMapping(), oofem::WeakPeriodicbc::computeElementTangent(), oofem::XfemManager::computeFictPosition(), oofem::HTSelement::computeForceLoadVector(), oofem::TransportElement::computeInternalSourceRhsSubVectorAt(), oofem::Node::computeL2GTransformation(), oofem::Tr1Darcy::computeLoadVector(), oofem::Tr1BubbleStokes::computeLoadVector(), oofem::Tr21Stokes::computeLoadVector(), oofem::Tet1BubbleStokes::computeLoadVector(), oofem::Tet21Stokes::computeLoadVector(), oofem::Node::computeLoadVectorAt(), oofem::DofManager::computeLoadVectorAt(), oofem::StructuralElement::computeLocalForceLoadVector(), oofem::StructuralElementEvaluator::computeLumpedMassMatrix(), oofem::StructuralElement::computeLumpedMassMatrix(), oofem::DofManager::computeM2LTransformation(), oofem::NlDEIDynamic::computeMassMtrx(), oofem::XfemManager::computeNodeEnrichmentType(), oofem::TR1_2D_CBS::computeNumberOfNodalPrescribedTractionPressureContributions(), oofem::SPRNodalRecoveryModel::computePatch(), oofem::TR1_2D_CBS::computePrescribedTractionPressure(), oofem::StructuralElement::computeResultingIPEigenstrainAt(), oofem::StructuralElement::computeResultingIPTemperatureAt(), oofem::Shell7Base::computeStiffnessMatrix(), oofem::StructuralElementEvaluator::computeStrainVector(), oofem::J2MPlasticMaterial::computeStressSpaceHardeningVars(), oofem::J2plasticMaterial::ComputeStressSpaceHardeningVars(), oofem::FEInterpolation3d::computeSurfaceMapping(), oofem::ElementSide::computeTransformation(), oofem::SloanLevelStructure::computeWidth(), oofem::StructuralElement::condense(), oofem::StressStrainBaseVector::convertFromFullForm(), oofem::CylindricalALM::convertHPCMap(), oofem::StressStrainBaseVector::convertToFullForm(), copySubVector(), oofem::Subdivision::createMesh(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::SPRNodalRecoveryModel::determineValuesFromPatch(), oofem::LEPlic::doCellDLS(), oofem::LEPlic::doInterfaceRemapping(), oofem::GPExportModule::doOutput(), oofem::HOMExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::drawIGAPatchDeformedGeometry(), oofem::Shell7Base::edgeEvalInitialCovarBaseVectorsAt(), oofem::Shell7Base::edgeEvalInitialDirectorAt(), oofem::Shell7Base::edgeGiveInitialSolutionVector(), oofem::TransportElement::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TR1_2D_CBS::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TR1_2D_SUPG2::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TR1_2D_SUPG::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::Line2BoundaryElement::EIPrimaryUnknownMI_computePrimaryUnknownVectorAtLocal(), oofem::HuertaErrorEstimator::estimateError(), oofem::LinearStatic::estimateMaxPackSize(), oofem::FETISolver::estimateMaxPackSize(), oofem::NonLinearStatic::estimateMaxPackSize(), oofem::NonLinearDynamic::estimateMaxPackSize(), oofem::NlDEIDynamic::estimateMaxPackSize(), oofem::TSplineInterpolation::evaldNdx(), oofem::TSplineInterpolation::evalN(), oofem::EIPrimaryUnknownMapper::evaluateAt(), oofem::SloanGraph::evaluateNodeDistances(), oofem::Subdivision::exchangeSharedEdges(), oofem::VTKExportModule::exportCellVars(), oofem::VTKXMLExportModule::exportCellVars(), oofem::VTKExportModule::exportIntVarAs(), oofem::VTKXMLExportModule::exportIntVarAs(), oofem::POIExportModule::exportIntVars(), oofem::VTKExportModule::exportIntVars(), oofem::VTKXMLExportModule::exportIntVars(), oofem::VTKXMLExportModule::exportPointDataHeader(), oofem::POIExportModule::exportPrimaryVars(), oofem::VTKExportModule::exportPrimaryVars(), oofem::VTKXMLExportModule::exportPrimaryVars(), oofem::SloanGraph::extractCandidates(), findCommonValuesSorted(), oofem::SloanLevelStructure::formYourself(), oofem::VTKExportModule::getDofManPrimaryVariable(), oofem::oofegGraphicContext::getMaterialModelFilterState(), oofem::MPlasticMaterial2::getNewPopulation(), oofem::MPlasticMaterial2::getPopulationSignature(), oofem::VTKXMLExportModule::getPrimaryVariable(), oofem::SpatialLocalizer::giveAllElementsWithNodesWithinBox(), oofem::Element::giveBoundaryLocationArray(), oofem::DynCompRow::giveColIndx(), oofem::DofManager::giveCompleteLocationArray(), oofem::DofManager::giveCompleteMasterDofIDArray(), oofem::Domain::giveDefaultNodeDofIDArry(), oofem::SlaveDof::giveDofIDs(), oofem::CombinedZZSIRemeshingCriteria::giveDofManDensity(), oofem::ZZRemeshingCriteria::giveDofManDensity(), oofem::HuertaRemeshingCriteria::giveDofManDensity(), oofem::PlaneStress2dXfem::giveDofManDofIDMask(), oofem::RCM2Material::giveEffectiveMaterialStiffnessMatrix(), oofem::DummySpatialLocalizer::giveElementClosestToPoint(), oofem::ConnectivityTable::giveElementNeighbourList(), oofem::ActiveDof::giveEquationNumbers(), oofem::SlaveDof::giveEquationNumbers(), oofem::SimpleCrossSection::giveFullCharacteristicVector(), oofem::StructuralMaterial::giveFullCharacteristicVector(), oofem::NonlocalMaterialExtensionInterface::giveInputRecordString(), oofem::StructuralElementEvaluator::giveIntegrationElementLocalCodeNumbers(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::DirectErrorIndicatorRC::giveLocalDofManDensity(), oofem::DirectErrorIndicatorRC::giveLocalDofManIndicator(), oofem::PlaneStress2dXfem::giveLocationArray(), oofem::DofManager::giveLocationArray(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::DofManager::giveMasterDofIDArray(), oofem::ActiveDof::giveMasterDofManArray(), oofem::SlaveDof::giveMasterDofManArray(), oofem::DofManager::giveMasterDofMans(), oofem::LEPlic::giveNodalScalarRepresentation(), oofem::ConnectivityTable::giveNodeNeighbourList(), oofem::DofManager::giveNumberOfPrimaryMasterDofs(), oofem::DofManager::givePartitionsConnectivitySize(), oofem::DofManager::givePrescribedUnknownVector(), oofem::RCM2Material::giveRealPrincipalStressVector3d(), oofem::SimpleCrossSection::giveReducedCharacteristicVector(), oofem::StructuralMaterial::giveReducedCharacteristicVector(), oofem::DynCompCol::giveRowIndx(), oofem::Subdivision::RS_SharedEdge::giveSharedPartitions(), oofem::J2Mat::giveStressBackVector(), oofem::TSplineInterpolation::giveTransformationJacobian(), oofem::DofManager::giveUnknownVector(), oofem::ParmetisLoadBalancer::handleMasterSlaveDofManLinks(), oofem::CompCol_ICPreconditioner::ICFactor(), oofem::DynCompRow::ILUPYourself(), oofem::Subdivision::RS_Node::importConnectivity(), oofem::Subdivision::RS_Triangle::importConnectivity(), oofem::Subdivision::RS_Tetra::importConnectivity(), oofem::PetscNatural2GlobalOrdering::init(), oofem::OctreeSpatialLocalizer::initElementDataStructure(), oofem::CompCol_ILUPreconditioner::initialize(), oofem::SlaveDof::initialize(), oofem::FastMarchingMethod::initialize(), oofem::SloanGraph::initialize(), oofem::MacroLSpace::initializeFrom(), oofem::TSplineInterpolation::initializeFrom(), oofem::SlaveNode::initializeFrom(), oofem::ActiveBoundaryCondition::initializeFrom(), oofem::SymmetryBarrier::initializeFrom(), oofem::BSplineInterpolation::initializeFrom(), oofem::CohesiveSurface3d::initializeFrom(), oofem::StationaryTransportProblem::initializeFrom(), oofem::TwoFluidMaterial::initializeFrom(), oofem::Beam2d::initializeFrom(), oofem::RigidArmNode::initializeFrom(), oofem::LayeredCrossSection::initializeFrom(), oofem::Beam3d::initializeFrom(), oofem::WeakPeriodicbc::initializeFrom(), oofem::IGAElement::initializeFrom(), oofem::RandomMaterialExtensionInterface::initializeFrom(), oofem::Load::initializeFrom(), oofem::CemhydMat::initializeFrom(), oofem::IGATSplineElement::initializeFrom(), oofem::WallClockLoadBalancerMonitor::initializeFrom(), oofem::NRSolver::initializeFrom(), oofem::FiberedCrossSection::initializeFrom(), oofem::CylindricalALM::initializeFrom(), oofem::NonlocalMaterialExtensionInterface::initializeFrom(), oofem::DofManager::initializeFrom(), oofem::LoadBalancer::initializeWtp(), oofem::SPRNodalRecoveryModel::initPatch(), oofem::SloanGraph::initStatusAndPriority(), oofem::DynCompRow::insertColInRow(), oofem::OctreeSpatialLocalizer::insertElementsUsingNodalConnectivitiesIntoOctree(), oofem::DynCompCol::insertRowInColumn(), oofem::Domain::instanciateYourself(), oofem::PolylineNonlocalBarrier::isActivated(), oofem::LEPlicElementInterface::isBoundary(), oofem::Load::isDofExcluded(), oofem::EnrichmentItem::isDofManEnriched(), oofem::XfemManager::isInteracted(), oofem::DofManager::isLocal(), oofem::Subdivision::isNodeLocalIrregular(), oofem::Subdivision::isNodeLocalSharedIrregular(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::TSplineInterpolation::local2global(), oofem::VTKXMLExportModule::makeFullForm(), oofem::PetscNatural2GlobalOrdering::map2New(), oofem::PetscNatural2LocalOrdering::map2New(), oofem::PetscNatural2GlobalOrdering::map2Old(), oofem::PetscNatural2LocalOrdering::map2Old(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::FETISolver::masterMapDirectionVector(), oofem::FETISolver::masterMapPPVector(), oofem::FETISolver::masterMapRBM(), oofem::FETISolver::masterMapResiduals(), oofem::FETISolver::masterMapSolution(), oofem::FETISolver::masterUnpackRBM(), oofem::DofManager::mergePartitionList(), oofem::TriangleMesherInterface::meshPSLG(), oofem::NonlocalMaterialWTP::migrate(), oofem::LoadBalancer::migrateLoad(), oofem::TrabBoneNL3D::NonlocalMaterialStiffnessInterface_addIPContribution(), oofem::IDNLMaterial::NonlocalMaterialStiffnessInterface_addIPContribution(), oofem::IDNLMaterial::NonlocalMaterialStiffnessInterface_showSparseMtrxStructure(), oofem::Subdivision::RS_Node::numberSharedEdges(), oofem::Subdivision::RS_Tetra::numberSharedEdges(), oofem::FETISolver::packDirectionVector(), oofem::EngngModel::packDofManagers(), oofem::FETISolver::packPPVector(), oofem::FETISolver::packRBM(), oofem::EngngModel::packRemoteElementData(), oofem::FETISolver::packResiduals(), oofem::NodalAveragingRecoveryModel::packSharedDofManData(), oofem::ZZNodalRecoveryModel::packSharedDofManData(), oofem::SPRNodalRecoveryModel::packSharedDofManData(), oofem::DirectErrorIndicatorRC::packSharedDofManLocalDensities(), oofem::DirectErrorIndicatorRC::packSharedDofManLocalIndicatorVals(), oofem::FETISolver::packSolution(), oofem::MPlasticMaterial2Status::printOutputAt(), oofem::DynCompCol::printStatistics(), oofem::NonlocalMaterialExtensionInterface::rebuildNonlocalPointTable(), oofem::SPRNodalRecoveryModel::recoverValues(), oofem::DofManager::resolveDofIDArray(), oofem::Element::saveContext(), oofem::SkylineUnsym::setInternalStructure(), oofem::Skyline::setInternalStructure(), oofem::MicroMaterial::setMacroProperties(), oofem::oofegGraphicContext::setMaterialModelFilterState(), oofem::NodalRecoveryModel::setRecoveryMode(), oofem::FETICommunicator::setUpCommunicationMaps(), oofem::FETISolver::setUpCommunicationMaps(), oofem::ProblemCommunicator::setUpCommunicationMapsForElementCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForNodeCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), oofem::HuertaErrorEstimator::setupRefinedProblemProlog(), oofem::StructuralElement::showSparseMtrxStructure(), oofem::TriangleMesherInterface::simplifyPSLG(), oofem::ErrorEstimator::skipRegion(), oofem::Subdivision::smoothMesh(), oofem::FreemInterface::smoothNodalDensities(), oofem::LineSearchNM::solve(), oofem::FastMarchingMethod::solve(), oofem::CylindricalALM::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::DEIDynamic::solveYourselfAt(), oofem::sort(), oofem::ProblemCommunicator::sortCommMap(), oofem::DIIDynamic::timesMtrx(), oofem::NonLinearDynamic::timesMtrx(), oofem::FETISolver::unpackDirectionVector(), oofem::EngngModel::unpackDofManagers(), oofem::Subdivision::unpackIrregularSharedGlobnums(), oofem::FETISolver::unpackPPVector(), oofem::EngngModel::unpackRemoteElementData(), oofem::FETISolver::unpackResiduals(), oofem::NodalAveragingRecoveryModel::unpackSharedDofManData(), oofem::ZZNodalRecoveryModel::unpackSharedDofManData(), oofem::SPRNodalRecoveryModel::unpackSharedDofManData(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalDensities(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalIndicatorVals(), oofem::Subdivision::unpackSharedEdges(), oofem::Subdivision::unpackSharedIrregulars(), oofem::FETISolver::unpackSolution(), oofem::Subdivision::RS_Triangle::update_neighbours(), oofem::Subdivision::RS_Tetra::update_neighbours(), oofem::SlaveNode::updateLocalNumbering(), oofem::LevelSetPCS::updatePosition(), oofem::FastMarchingMethod::updateTrialValue(), and oofem::XfemElementInterface::XfemElementInterface_prepareNodesForDelaunay().

Insert once (does not make any assumption about receiver state or ordering, quite inefficient).

More efficient version insertSortedOnce exist.

Parameters:
pValue to insert.
Returns:
Index of sorted value.

Definition at line 648 of file intarray.C.

References findFirstIndexOf(), followedBy(), and size.

Referenced by oofem::DofManager::mergePartitionList().

int oofem::IntArray::insertSorted ( int  value,
int  allocChunk = 0 
)

Inserts given value into a receiver, which is assumed to be sorted.

The size of receiver is changed accordingly.

Parameters:
valuevalue to insert.
allocChunkIf reallocation needed, an additional space for allocChunk values will be allocated.
Returns:
Index of inserted (or existing) value.

Definition at line 550 of file intarray.C.

References allocatedSize, oofem::allocInt(), oofem::freeInt(), size, and values.

Referenced by oofem::Subdivision::RS_Node::insertConnectedElement(), and insertSortedOnce().

int oofem::IntArray::insertSortedOnce ( int  value,
int  allocChunk = 0 
)

Inserts given value into a receiver, which is assumed to be sorted.

The value is inserted only if it does not exist. The size of receiver is changed accordingly.

Parameters:
valueValue to insert.
allocChunkIf reallocation needed, an additional space for allocChunk values will be allocated.
Returns:
Index of inserted (or existing) value.

Definition at line 597 of file intarray.C.

References findSorted(), and insertSorted().

Referenced by oofem::DofManager::giveMasterDofMans(), and oofem::EIPrimaryUnknownMapper::mapAndUpdate().

bool oofem::IntArray::isEmpty ( ) const [inline]
int oofem::IntArray::maximum ( ) const

Finds the maximum component in the array.

Returns:
Maximum of array or prints error is array is empty.

Definition at line 382 of file intarray.C.

References OOFEM_ERROR, size, and values.

Referenced by oofem::FloatMatrix::beSubMatrixOf(), and oofem::FloatMatrix::beSubMatrixOfSizeOf().

int oofem::IntArray::minimum ( ) const

Finds the minimum component in the array.

Returns:
Minimum of array or prints error is array is empty.

Definition at line 365 of file intarray.C.

References OOFEM_ERROR, size, and values.

Referenced by oofem::PetscOrdering_Base::isLocal().

int& oofem::IntArray::operator() ( int  i) [inline]

Coefficient access function.

Returns value of coefficient at given position of the receiver. Provides 0-based indexing access.

Parameters:
iPosition of coefficient in array.
Returns:
Value at position.

Definition at line 122 of file intarray.h.

References values.

const int& oofem::IntArray::operator() ( int  i) const [inline]

Coefficient access function.

Returns value of coefficient at given position of the receiver. Provides 0-based indexing access.

Parameters:
iposition of coefficient in array.
Returns:
Value at position.

Definition at line 133 of file intarray.h.

References values.

IntArray & oofem::IntArray::operator= ( const IntArray src)

Assignment operator.

Definition at line 94 of file intarray.C.

References allocatedSize, oofem::allocInt(), oofem::freeInt(), size, and values.

Packs receiver into communication buffer.

Parameters:
buffBuffer to pack itself into.
Returns:
Nonzero if successful.

Definition at line 659 of file intarray.C.

References oofem::CommunicationBuffer::packArray(), oofem::CommunicationBuffer::packInt(), size, and values.

Referenced by oofem::ProcessCommunicatorBuff::packIntArray(), and oofem::CommunicationBuffer::packIntArray().

void oofem::IntArray::preallocate ( int  futureSize)
void oofem::IntArray::resize ( int  n,
int  allocChunk = 0 
)

Checks size of receiver towards requested bounds.

If dimension mismatch, size is adjusted accordingly.

Note:
{After this operation array values are in undefined state, programmer should zero receiver.}
Parameters:
nNew size of array.
allocChunkIf reallocation needed, an additional space for allocChunk values will be allocated to prevent excessive reallocation.

Definition at line 188 of file intarray.C.

References allocatedSize, oofem::allocInt(), oofem::freeInt(), size, and values.

Referenced by oofem::MMALeastSquareProjection::__init(), oofem::AdaptiveNonLinearStatic::adaptiveRemap(), addSubVector(), oofem::NRSolver::applyConstraintsToStiffness(), oofem::WeakPeriodicbc::assemble(), oofem::WeakPeriodicbc::assembleVector(), oofem::SymCompCol::buildInternalStructure(), oofem::CompCol::buildInternalStructure(), oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::StructuralEngngModel::buildReactionTable(), oofem::ParmetisLoadBalancer::calculateLoadTransfer(), oofem::HangingNode::checkConsistency(), oofem::RigidArmNode::checkConsistency(), oofem::RCM2Material::checkForNewActiveCracks(), oofem::MPlasticMaterial2::closestPointReturn(), oofem::CompoDamageMatStatus::CompoDamageMatStatus(), oofem::FEInterpolation2d::computeEdgeMapping(), oofem::FEInterpolation3d::computeEdgeMapping(), oofem::XfemManager::computeFictPosition(), oofem::FEI3dHexaQuad::computeGlobalSurfaceMapping(), oofem::FEI2dTrLin::computeLocalEdgeMapping(), oofem::FEI2dTrConst::computeLocalEdgeMapping(), oofem::FEI2dQuadConst::computeLocalEdgeMapping(), oofem::FEI3dTetLin::computeLocalEdgeMapping(), oofem::FEI2dQuadLin::computeLocalEdgeMapping(), oofem::FEI2dTrQuad::computeLocalEdgeMapping(), oofem::FEI3dTrQuad::computeLocalEdgeMapping(), oofem::FEI3dTetQuad::computeLocalEdgeMapping(), oofem::FEI2dQuadQuad::computeLocalEdgeMapping(), oofem::FEI3dTetLin::computeLocalSurfaceMapping(), oofem::FEI3dTetQuad::computeLocalSurfaceMapping(), oofem::FEI3dHexaQuad::computeLocalSurfaceMapping(), oofem::DofManager::computeM2LTransformation(), oofem::FEInterpolation3d::computeSurfaceMapping(), oofem::StokesFlowVelocityHomogenization::computeTangent(), oofem::CylindricalALM::convertHPCMap(), copySubVector(), oofem::T3DInterface::createInput(), oofem::Subdivision::createMesh(), oofem::MPlasticMaterial2::cuttingPlaneReturn(), oofem::SPRNodalRecoveryModel::determinePatchAssemblyPoints(), oofem::DofManager::DofManager(), oofem::BsplinePlaneStressElement::drawScalar(), oofem::NURBSPlaneStressElement::drawScalar(), oofem::TSplinePlaneStressElement::drawScalar(), oofem::NURBSSpace3dElement::drawScalar(), oofem::ErrorEstimator::ErrorEstimator(), oofem::HuertaErrorEstimator::estimateError(), oofem::NonlocalMaterialWTP::fastRebuildNonlocalTables(), oofem::SloanLevelStructure::formYourself(), oofem::XfemManager::getInteractedEI(), oofem::MPlasticMaterial2::getNewPopulation(), oofem::VTKXMLExportModule::getPrimaryVariable(), oofem::RefinedElement::giveBcDofArray1D(), oofem::RefinedElement::giveBcDofArray2D(), oofem::RefinedElement::giveBcDofArray3D(), oofem::RefinedElement::giveBoundaryFlagArray(), oofem::RefinedElement::giveBoundaryLoadArray1D(), oofem::RefinedElement::giveBoundaryLoadArray2D(), oofem::RefinedElement::giveBoundaryLoadArray3D(), oofem::Element::giveBoundaryLocationArray(), oofem::RefinedElement::giveCompatibleBcDofArray(), oofem::FETIBoundaryDofManager::giveCompleteLocationArray(), oofem::DofManager::giveCompleteLocationArray(), oofem::DofManager::giveCompleteMasterDofIDArray(), oofem::SlaveDof::giveDofIDs(), oofem::QTRSpaceGrad::giveDofManDofIDMask(), oofem::TransportElement::giveDofManDofIDMask(), oofem::LumpedMassElement::giveDofManDofIDMask(), oofem::TR21_2D_SUPG::giveDofManDofIDMask(), oofem::Quad10_2D_SUPG::giveDofManDofIDMask(), oofem::Line2BoundaryElement::giveDofManDofIDMask(), oofem::Tr1BubbleStokes::giveDofManDofIDMask(), oofem::Tr21Stokes::giveDofManDofIDMask(), oofem::Tet1BubbleStokes::giveDofManDofIDMask(), oofem::Tet21Stokes::giveDofManDofIDMask(), oofem::Element::giveDofManDofIDMask(), oofem::LIBeam2d::giveEdgeDofMapping(), oofem::LIBeam2dNL::giveEdgeDofMapping(), oofem::CCTPlate::giveEdgeDofMapping(), oofem::LIBeam3d::giveEdgeDofMapping(), oofem::Truss2d::giveEdgeDofMapping(), oofem::LIBeam3dNL::giveEdgeDofMapping(), oofem::QPlaneStress2d::giveEdgeDofMapping(), oofem::LIBeam3dNL2::giveEdgeDofMapping(), oofem::L4Axisymm::giveEdgeDofMapping(), oofem::Truss3d::giveEdgeDofMapping(), oofem::LIBeam3d2::giveEdgeDofMapping(), oofem::QTrPlaneStress2d::giveEdgeDofMapping(), oofem::Axisymm3d::giveEdgeDofMapping(), oofem::PlaneStress2d::giveEdgeDofMapping(), oofem::Quad1PlaneStrain::giveEdgeDofMapping(), oofem::LSpace::giveEdgeDofMapping(), oofem::TrPlaneStrain::giveEdgeDofMapping(), oofem::TrPlaneStress2d::giveEdgeDofMapping(), oofem::LTRSpace::giveEdgeDofMapping(), oofem::StructuralElement::giveEdgeDofMapping(), oofem::VTKExportModule::giveElementCell(), oofem::VTKXMLExportModule::giveElementCell(), oofem::Element::giveElementDofIDMask(), oofem::Tr21Stokes::giveElementFMatrix(), oofem::ConnectivityTable::giveElementNeighbourList(), oofem::NonlocalMaterialWTP::giveElementNonlocalDepArry(), oofem::ActiveDof::giveEquationNumbers(), oofem::SlaveDof::giveEquationNumbers(), oofem::Dof::giveEquationNumbers(), oofem::OOFEMTXTInputRecord::giveField(), oofem::StructuralElementEvaluator::giveIntegrationElementLocalCodeNumbers(), oofem::Quad10_2D_SUPG::giveInternalDofManDofIDMask(), oofem::Tr1BubbleStokes::giveInternalDofManDofIDMask(), oofem::Tet1BubbleStokes::giveInternalDofManDofIDMask(), oofem::Element::giveInternalDofManDofIDMask(), oofem::HydratingConcreteMat::giveIntVarCompFullIndx(), oofem::TR_SHELL01::giveIntVarCompFullIndx(), oofem::HydratingHeMoMaterial::giveIntVarCompFullIndx(), oofem::TrPlaneStrRot3d::giveIntVarCompFullIndx(), oofem::CCTPlate3d::giveIntVarCompFullIndx(), oofem::RerShell::giveIntVarCompFullIndx(), oofem::CBSElement::giveIntVarCompFullIndx(), oofem::HydratingIsoHeatMaterial::giveIntVarCompFullIndx(), oofem::SUPGElement2::giveIntVarCompFullIndx(), oofem::TransportElement::giveIntVarCompFullIndx(), oofem::CemhydMat::giveIntVarCompFullIndx(), oofem::FiberedCrossSection::giveIntVarCompFullIndx(), oofem::Quad10_2D_SUPG::giveIntVarCompFullIndx(), oofem::TR1_2D_CBS::giveIntVarCompFullIndx(), oofem::MisesMat::giveIntVarCompFullIndx(), oofem::DruckerPragerCutMat::giveIntVarCompFullIndx(), oofem::PlasticMaterial::giveIntVarCompFullIndx(), oofem::RankineMat::giveIntVarCompFullIndx(), oofem::CompoDamageMat::giveIntVarCompFullIndx(), oofem::IsoInterfaceDamageMaterial::giveIntVarCompFullIndx(), oofem::PerfectlyPlasticMaterial::giveIntVarCompFullIndx(), oofem::TR1_2D_SUPG2::giveIntVarCompFullIndx(), oofem::TR1_2D_SUPG::giveIntVarCompFullIndx(), oofem::FluidDynamicMaterial::giveIntVarCompFullIndx(), oofem::MPlasticMaterial::giveIntVarCompFullIndx(), oofem::RCM2Material::giveIntVarCompFullIndx(), oofem::SUPGElement::giveIntVarCompFullIndx(), oofem::IsotropicDamageMaterial::giveIntVarCompFullIndx(), oofem::TrabBone3D::giveIntVarCompFullIndx(), oofem::MPlasticMaterial2::giveIntVarCompFullIndx(), oofem::Material::giveIntVarCompFullIndx(), oofem::MDM::giveIntVarCompFullIndx(), oofem::StructuralMaterial::giveIntVarCompFullIndx(), oofem::DruckerPragerPlasticitySM::giveIntVarCompFullIndx(), oofem::Element::giveIntVarCompFullIndx(), oofem::ConcreteDPM::giveIntVarCompFullIndx(), oofem::HellmichMaterial::giveIntVarCompFullIndx(), oofem::ConcreteDPM2::giveIntVarCompFullIndx(), oofem::BSplineInterpolation::giveKnotSpanBasisFuncMask(), oofem::TrabBoneNL3D::giveLocalNonlocalStiffnessContribution(), oofem::IDNLMaterial::giveLocalNonlocalStiffnessContribution(), oofem::TR21_2D_SUPG::giveLocalPressureDofMap(), oofem::Quad10_2D_SUPG::giveLocalPressureDofMap(), oofem::TR1_2D_SUPG::giveLocalPressureDofMap(), oofem::TR21_2D_SUPG::giveLocalVelocityDofMap(), oofem::Quad10_2D_SUPG::giveLocalVelocityDofMap(), oofem::TR1_2D_SUPG::giveLocalVelocityDofMap(), oofem::PlaneStress2dXfem::giveLocationArray(), oofem::DofManager::giveLocationArray(), oofem::Element::giveLocationArray(), oofem::StructuralElement::giveMassMtrxIntegrationgMask(), oofem::StructuralElementEvaluator::giveMassMtrxIntegrationMask(), oofem::DofManager::giveMasterDofIDArray(), oofem::ActiveDof::giveMasterDofManArray(), oofem::SlaveDof::giveMasterDofManArray(), oofem::SimpleSlaveDof::giveMasterDofManArray(), oofem::Dof::giveMasterDofManArray(), oofem::DofManager::giveMasterDofMans(), oofem::ConnectivityTable::giveNodeNeighbourList(), oofem::StructuralElement::giveNonlocalLocationArray(), oofem::NodalRecoveryModel::giveRegionRecordMap(), oofem::Subdivision::RS_Triangle::giveSideNodes(), oofem::Subdivision::RS_Tetra::giveSideNodes(), oofem::FiberedCrossSection::giveStressStrainMask(), oofem::LayeredCrossSection::giveStressStrainMask(), oofem::Tr2Shell7::giveSurfaceDofMapping(), oofem::QSpace::giveSurfaceDofMapping(), oofem::LSpace::giveSurfaceDofMapping(), oofem::LTRSpace::giveSurfaceDofMapping(), oofem::StructuralElement::giveSurfaceDofMapping(), oofem::HOMExportModule::HOMExportModule(), oofem::DynCompRow::ILUPYourself(), oofem::Subdivision::RS_Triangle::importConnectivity(), oofem::Subdivision::RS_Tetra::importConnectivity(), oofem::PetscNatural2GlobalOrdering::init(), oofem::PetscNatural2LocalOrdering::init(), oofem::oofegGraphicContext::init(), oofem::ParmetisLoadBalancer::initGlobalParmetisElementNumbering(), oofem::CompCol_ICPreconditioner::initialize(), oofem::CompCol_ILUPreconditioner::initialize(), oofem::SlaveDof::initialize(), oofem::SloanGraph::initialize(), oofem::ExternalFieldGenerator::initializeFrom(), oofem::MacroLSpace::initializeFrom(), oofem::TSplineInterpolation::initializeFrom(), oofem::BSplineInterpolation::initializeFrom(), oofem::StationaryTransportProblem::initializeFrom(), oofem::TR21_2D_SUPG::initializeFrom(), oofem::ExportModule::initializeFrom(), oofem::VTKExportModule::initializeFrom(), oofem::VTKXMLExportModule::initializeFrom(), oofem::IGAElement::initializeFrom(), oofem::RandomMaterialExtensionInterface::initializeFrom(), oofem::Load::initializeFrom(), oofem::CemhydMat::initializeFrom(), oofem::IGATSplineElement::initializeFrom(), oofem::WallClockLoadBalancerMonitor::initializeFrom(), oofem::NRSolver::initializeFrom(), oofem::ErrorEstimator::initializeFrom(), oofem::CylindricalALM::initializeFrom(), oofem::DofManager::initializeFrom(), oofem::Element::initializeFrom(), oofem::SPRNodalRecoveryModel::initPatch(), oofem::NRSolver::initPrescribedEqs(), oofem::NodalAveragingRecoveryModel::initRegionMap(), oofem::ZZNodalRecoveryModel::initRegionMap(), oofem::SPRNodalRecoveryModel::initRegionMap(), oofem::VTKExportModule::initRegionNodeNumbering(), oofem::NodalRecoveryModel::initRegionNodeNumbering(), oofem::VTKXMLExportModule::initRegionNodeNumbering(), oofem::DynCompRow::insertColInRow(), oofem::DynCompCol::insertRowInColumn(), oofem::EngngModel::Instanciate_init(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::MacroLSpace::MacroLSpace(), oofem::Subdivision::RS_Triangle::makeSharedEdges(), oofem::Subdivision::RS_Tetra::makeSharedEdges(), oofem::PetscNatural2GlobalOrdering::map2New(), oofem::PetscNatural2LocalOrdering::map2New(), oofem::PetscNatural2GlobalOrdering::map2Old(), oofem::PetscNatural2LocalOrdering::map2Old(), oofem::EIPrimaryUnknownMapper::mapAndUpdate(), oofem::TriangleMesherInterface::meshPSLG(), oofem::MicroMaterial::MicroMaterial(), oofem::MDM::MMI_map(), oofem::NonlocalMaterialExtensionInterface::NonlocalMaterialExtensionInterface(), oofem::OctreeSpatialLocalizer::OctreeSpatialLocalizer(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::SPRNodalRecoveryModel::recoverValues(), oofem::RefinedElement::RefinedElement(), oofem::RefinedMesh::refineMeshGlobally(), oofem::Subdivision::RS_SharedEdge::removePartitions(), oofem::SlaveDof::restoreContext(), oofem::Subdivision::RS_Tetra::RS_Tetra(), oofem::Subdivision::RS_Triangle::RS_Triangle(), oofem::oofegGraphicContext::setActiveProblem(), oofem::FETIBoundaryDofManager::setCodeNumbers(), oofem::GradDpElement::setDisplacementLocationArray(), oofem::SkylineUnsym::setInternalStructure(), oofem::GradDpElement::setNonlocalLocationArray(), oofem::NodalRecoveryModel::setRecoveryMode(), oofem::FETISolver::setUpCommunicationMaps(), oofem::ProblemCommunicator::setUpCommunicationMapsForElementCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), setValues(), oofem::TriangleMesherInterface::simplifyPSLG(), oofem::Subdivision::smoothMesh(), oofem::FETISolver::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::QBrick1_ht::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::Brick1_ht::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::LWedge::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QWedge::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::PlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::Quad1PlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QTRSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::L4Axisymm::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::LSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QTrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TrPlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::Axisymm3d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QTrPlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::LTRSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TR1_2D_CBS::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TR1_2D_SUPG2_AXI::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::CCTPlate::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TR1_2D_SUPG2::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::TR1_2D_SUPG::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::QBrick1_ht::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::Brick1_ht::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::LWedge::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QWedge::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::PlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::L4Axisymm::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QTRSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::Quad1PlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::LSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QTrPlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TrPlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::QTrPlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::Axisymm3d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TrPlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::LTRSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TR1_2D_CBS::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TR1_2D_SUPG2_AXI::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::CCTPlate::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TR1_2D_SUPG2::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::TR1_2D_SUPG::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), oofem::SloanGraph::tryParameters(), unpackFromCommBuffer(), and oofem::NonlocalMaterialWTP::unpackRemoteElements().

void oofem::IntArray::setValues ( int  n,
  ... 
)

Sets the array to be a sequence of values.

Parameters:
nNumber of integers in the sequence to follow.

Definition at line 517 of file intarray.C.

References resize(), and values.

Referenced by oofem::FEI3dLineLin::computeLocalEdgeMapping(), oofem::FEI3dHexaLin::computeLocalEdgeMapping(), oofem::FEI2dLineQuad::computeLocalEdgeMapping(), oofem::FEI3dWedgeQuad::computeLocalEdgeMapping(), oofem::FEI3dWedgeLin::computeLocalEdgeMapping(), oofem::FEI3dHexaLin::computeLocalSurfaceMapping(), oofem::FEI3dWedgeQuad::computeLocalSurfaceMapping(), oofem::FEI3dWedgeLin::computeLocalSurfaceMapping(), oofem::FEI3dTrQuad::computeLocalSurfaceMapping(), oofem::LEPlic::doLagrangianPhase(), oofem::Line2BoundaryElement::EIPrimaryUnknownMI_givePrimaryUnknownVectorDofID(), oofem::LineSurfaceTension::EIPrimaryUnknownMI_givePrimaryUnknownVectorDofID(), oofem::Tr1BubbleStokes::EIPrimaryUnknownMI_givePrimaryUnknownVectorDofID(), oofem::Tr21Stokes::EIPrimaryUnknownMI_givePrimaryUnknownVectorDofID(), oofem::Tet1BubbleStokes::EIPrimaryUnknownMI_givePrimaryUnknownVectorDofID(), oofem::Tet21Stokes::EIPrimaryUnknownMI_givePrimaryUnknownVectorDofID(), oofem::VTKExportModule::exportPrimVarAs(), oofem::VTKXMLExportModule::getPrimaryVariable(), oofem::Domain::giveDefaultNodeDofIDArry(), oofem::Dof::giveDofIDs(), oofem::InterfaceElem2dQuad::giveDofManDofIDMask(), oofem::InterfaceElement3dTrLin::giveDofManDofIDMask(), oofem::Tr1Darcy::giveDofManDofIDMask(), oofem::QPlaneStrain::giveDofManDofIDMask(), oofem::QPlaneStress2d::giveDofManDofIDMask(), oofem::QTruss1d::giveDofManDofIDMask(), oofem::Shell7Base::giveDofManDofIDMask(), oofem::Space3dStructuralElementEvaluator::giveDofManDofIDMask(), oofem::PlaneStressStructuralElementEvaluator::giveDofManDofIDMask(), oofem::Q4Axisymm::giveDofManDofIDMask(), oofem::L4Axisymm::giveDofManDofIDMask(), oofem::Tet1_3D_SUPG::giveDofManDofIDMask(), oofem::QSpaceGrad::giveDofManDofIDMask(), oofem::InterfaceElem1d::giveDofManDofIDMask(), oofem::QTrPlaneStrainGrad::giveDofManDofIDMask(), oofem::QTrPlaneStrain::giveDofManDofIDMask(), oofem::QTrPlaneStress2d::giveDofManDofIDMask(), oofem::CohesiveSurface3d::giveDofManDofIDMask(), oofem::LIBeam3d::giveDofManDofIDMask(), oofem::TransportElement::giveDofManDofIDMask(), oofem::HTSelement::giveDofManDofIDMask(), oofem::PlaneStress2d::giveDofManDofIDMask(), oofem::Axisymm3d::giveDofManDofIDMask(), oofem::Quad1PlaneStrain::giveDofManDofIDMask(), oofem::QPlaneStrainGrad::giveDofManDofIDMask(), oofem::QPlaneStressGrad::giveDofManDofIDMask(), oofem::QSpace::giveDofManDofIDMask(), oofem::QTrPlaneStressGrad::giveDofManDofIDMask(), oofem::LIBeam2dNL::giveDofManDofIDMask(), oofem::LSpace::giveDofManDofIDMask(), oofem::Truss2d::giveDofManDofIDMask(), oofem::LIBeam2d::giveDofManDofIDMask(), oofem::TrPlaneStrRot::giveDofManDofIDMask(), oofem::Truss3d::giveDofManDofIDMask(), oofem::LIBeam3dNL2::giveDofManDofIDMask(), oofem::Truss1d::giveDofManDofIDMask(), oofem::TrPlaneStress2d::giveDofManDofIDMask(), oofem::TrPlaneStrain::giveDofManDofIDMask(), oofem::LIBeam3dNL::giveDofManDofIDMask(), oofem::LTRSpace::giveDofManDofIDMask(), oofem::TR21_2D_SUPG::giveDofManDofIDMask(), oofem::Quad10_2D_SUPG::giveDofManDofIDMask(), oofem::Lattice2d::giveDofManDofIDMask(), oofem::Beam3d::giveDofManDofIDMask(), oofem::QTruss1dGrad::giveDofManDofIDMask(), oofem::Beam2d::giveDofManDofIDMask(), oofem::Quad1Mindlin::giveDofManDofIDMask(), oofem::LIBeam3d2::giveDofManDofIDMask(), oofem::SpringElement::giveDofManDofIDMask(), oofem::Line2BoundaryElement::giveDofManDofIDMask(), oofem::RerShell::giveDofManDofIDMask(), oofem::TR1_2D_CBS::giveDofManDofIDMask(), oofem::TrPlaneStrRot3d::giveDofManDofIDMask(), oofem::CCTPlate3d::giveDofManDofIDMask(), oofem::CCTPlate::giveDofManDofIDMask(), oofem::Quad1MindlinShell3D::giveDofManDofIDMask(), oofem::TR1_2D_SUPG2::giveDofManDofIDMask(), oofem::TR1_2D_SUPG::giveDofManDofIDMask(), oofem::Tr1BubbleStokes::giveDofManDofIDMask(), oofem::Tr21Stokes::giveDofManDofIDMask(), oofem::Tet1BubbleStokes::giveDofManDofIDMask(), oofem::Tet21Stokes::giveDofManDofIDMask(), oofem::Tr2Shell7::giveEdgeDofMapping(), oofem::Quad1Mindlin::giveEdgeDofMapping(), oofem::Quad1MindlinShell3D::giveEdgeDofMapping(), oofem::TransportElement::giveElementDofIDMask(), oofem::Quad10_2D_SUPG::giveInternalDofManDofIDMask(), oofem::Tr1BubbleStokes::giveInternalDofManDofIDMask(), oofem::Tet1BubbleStokes::giveInternalDofManDofIDMask(), oofem::TransportMaterial::giveIntVarCompFullIndx(), oofem::FluidDynamicMaterial::giveIntVarCompFullIndx(), oofem::SUPG::initializeFrom(), oofem::Tr2Shell7::initOrdering(), oofem::Tr1BubbleStokes::initOrdering(), oofem::Tet1BubbleStokes::initOrdering(), oofem::Tr21Stokes::initOrdering(), oofem::Tet21Stokes::initOrdering(), oofem::Quad1MindlinShell3D::initOrdering(), oofem::PrescribedGradient::updateCoefficientMatrix(), oofem::LevelSetPCS::updatePosition(), and oofem::VTKXMLExportModule::VTKXMLExportModule().

Unpacks receiver from communication buffer.

Parameters:
buffBuffer from which unpack itself.
Returns:
Nonzero if successful.

Definition at line 671 of file intarray.C.

References resize(), oofem::CommunicationBuffer::unpackArray(), oofem::CommunicationBuffer::unpackInt(), and values.

Referenced by oofem::ProcessCommunicatorBuff::unpackIntArray(), and oofem::CommunicationBuffer::unpackIntArray().

Sets all component to zero.

Definition at line 121 of file intarray.C.

References size, and values.

Referenced by oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::NRSolver::checkConvergence(), oofem::RCM2Material::checkForNewActiveCracks(), oofem::MPlasticMaterial::closestPointReturn(), oofem::MPlasticMaterial2::closestPointReturn(), oofem::CompoDamageMatStatus::CompoDamageMatStatus(), oofem::XfemManager::computeNodeEnrichmentType(), oofem::MPlasticMaterial::cuttingPlaneReturn(), oofem::MPlasticMaterial2::cuttingPlaneReturn(), oofem::HuertaErrorEstimator::estimateError(), oofem::MPlasticMaterial2::getNewPopulation(), oofem::FiberedCrossSection::giveIntVarCompFullIndx(), oofem::MDM::giveIntVarCompFullIndx(), oofem::DruckerPragerPlasticitySM::giveIntVarCompFullIndx(), oofem::ConcreteDPM::giveIntVarCompFullIndx(), oofem::ConcreteDPM2::giveIntVarCompFullIndx(), oofem::FiberedCrossSection::giveStressStrainMask(), oofem::LayeredCrossSection::giveStressStrainMask(), oofem::DummySpatialLocalizer::init(), oofem::PetscNatural2GlobalOrdering::init(), oofem::OctreeSpatialLocalizer::init(), oofem::ExternalFieldGenerator::initializeFrom(), oofem::Load::initializeFrom(), oofem::CemhydMat::initializeFrom(), oofem::NonlocalMaterialExtensionInterface::initializeFrom(), oofem::SPRNodalRecoveryModel::initPatch(), oofem::NodalAveragingRecoveryModel::initRegionMap(), oofem::ZZNodalRecoveryModel::initRegionMap(), oofem::SPRNodalRecoveryModel::initRegionMap(), oofem::VTKExportModule::initRegionNodeNumbering(), oofem::NodalRecoveryModel::initRegionNodeNumbering(), oofem::VTKXMLExportModule::initRegionNodeNumbering(), oofem::ConnectivityTable::instanciateConnectivityTable(), oofem::ParmetisLoadBalancer::labelDofManagers(), oofem::Subdivision::RS_Triangle::makeSharedEdges(), oofem::Subdivision::RS_Tetra::makeSharedEdges(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::SPRNodalRecoveryModel::recoverValues(), oofem::Subdivision::RS_Tetra::RS_Tetra(), oofem::Subdivision::RS_Triangle::RS_Triangle(), oofem::SkylineUnsym::setInternalStructure(), oofem::TriangleMesherInterface::simplifyPSLG(), oofem::Subdivision::smoothMesh(), oofem::FETISolver::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), and oofem::HuertaErrorEstimator::solveRefinedPatchProblem().


Member Data Documentation

Allocated size for array.

Definition at line 76 of file intarray.h.

Referenced by followedBy(), insertSorted(), IntArray(), operator=(), preallocate(), resize(), and restoreYourself().

int oofem::IntArray::size [private]
int* oofem::IntArray::values [private]

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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Sun Mar 10 2013 18:17:00 for OOFEM by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2011