#include <intarray.h>
Public Member Functions | |
| IntArray (int=0) | |
| Constructor for zero sized array. | |
| IntArray (const IntArray &) | |
| Copy constructor. | |
| ~IntArray () | |
| Destructor. | |
| IntArray & | operator= (const IntArray &) |
| Assingnment operator. | |
| int & | at (int i) |
| int | at (int i) const |
| int & | operator() (int i) |
| Coefficient access function. | |
| const int & | operator() (int i) const |
| Coefficient access function. | |
| void | checkBounds (int i) const |
| Checks size of receiver towards requested bounds. | |
| 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 |
| Returns the size of receiver. | |
| int | isEmpty () const |
| Checks if receiver is empty (i.e., zero sized). | |
| int | containsOnlyZeroes () const |
| Returns true if receiver contains only zeroes. | |
| int | findSorted (int value) const |
| finds the first occurence of given value, assuming that the receiver is sorted. | |
| bool | containsSorted (int value) const |
| returns true if receiver contains 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 occurence of given value in array. | |
| bool | contains (int value) const |
| returns true if receiver contains given value | |
| 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,. | |
| void | addSubVector (const IntArray &src, int si) |
| add given subvector to receiver values starting at position si | |
| void | copySubVector (const IntArray &src, int si) |
| copy given subvector to receiver values starting at position si | |
| void | printYourself () const |
| Prints receiver on stdin. | |
| contextIOResultType | storeYourself (DataStream *stream, ContextMode mode) const |
| Stores array to output stream. | |
| contextIOResultType | restoreYourself (DataStream *stream, ContextMode mode) |
| Restores array from image on stream. | |
| void | zero () |
| Sets all component to zero. | |
| int * | givePointer () const |
| void | add (int val) |
| adds given value to all values of receiver | |
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 | |
Array can grow or shrink to desired dimension. The lower value index of array is 1, upper depends on array size.
Definition at line 70 of file intarray.h.
| IntArray::IntArray | ( | int | n = 0 |
) |
Constructor for zero sized array.
Definition at line 59 of file intarray.C.
References allocatedSize, allocInt(), size, and values.
| IntArray::IntArray | ( | const IntArray & | src | ) |
Copy constructor.
Creates the array from another array.
Definition at line 71 of file intarray.C.
References allocatedSize, allocInt(), size, and values.
| IntArray::~IntArray | ( | ) | [inline] |
Assingnment operator.
Definition at line 92 of file intarray.C.
References allocatedSize, allocInt(), freeInt(), size, and values.
| int& IntArray::at | ( | int | i | ) | [inline] |
Definition at line 128 of file intarray.h.
References values.
Referenced by MMAShapeFunctProjection::__init(), MMALeastSquareProjection::__init(), MMAContainingElementProjection::__init(), RandomMaterialExtensionInterface::_generateStatusVariables(), AdaptiveNonLinearStatic::adaptiveRemap(), FETIBoundaryDofManager::addPartition(), addSubVector(), SymmetryBarrier::applyConstraint(), NRSolver::applyConstraintsToLoadIncrement(), NRSolver::applyConstraintsToStiffness(), SymCompCol::assemble(), SkylineUnsym::assemble(), Skyline::assemble(), PetscSparseMtrx::assemble(), FloatMatrix::assemble(), FloatArray::assemble(), DynCompRow::assemble(), DynCompCol::assemble(), CompCol::assemble(), Skyline::at(), Skyline::backSubstitutionWith(), FloatArray::beSubArrayOf(), FloatMatrix::beSubMatrixOf(), FloatMatrix::beSubMatrixOfSizeOf(), Subdivision::RS_Tetra::bisect(), Subdivision::RS_Triangle::bisect(), SymCompCol::buildInternalStructure(), SkylineUnsym::buildInternalStructure(), Skyline::buildInternalStructure(), PetscSparseMtrx::buildInternalStructure(), DynCompRow::buildInternalStructure(), DynCompCol::buildInternalStructure(), CompCol::buildInternalStructure(), NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), OctreeSpatialLocalizer::buildOctreeDataStructure(), StructuralEngngModel::buildReactionTable(), Subdivision::RS_Node::buildTopLevelNodeConnectivity(), RigidArmNode::checkConsistency(), Node::checkConsistency(), HangingNode::checkConsistency(), RCM2Material::checkForNewActiveCracks(), RCM2Material::checkIfClosedCracks(), SkylineUnsym::checkSizeTowards(), RowColumn::checkSizeTowards(), FloatArray::checkSizeTowards(), Column::checkSizeTowards(), MPlasticMaterial2::closestPointReturn(), MPlasticMaterial::closestPointReturn(), MPlasticMaterial2::computeAlgorithmicModuli(), MPlasticMaterial::computeAlgorithmicModuli(), StructuralElement::computeBcLoadVectorAt(), TR1_2D_SUPG_AXI::computeBCRhsTerm_MB(), TR1_2D_SUPG2_AXI::computeBCRhsTerm_MB(), TR1_2D_SUPG2::computeBCRhsTerm_MB(), TR1_2D_SUPG::computeBCRhsTerm_MB(), SUPGElement2::computeBCRhsTerm_MB(), TR1_2D_SUPG_AXI::computeBCRhsTerm_MC(), TR1_2D_SUPG2_AXI::computeBCRhsTerm_MC(), TR1_2D_SUPG::computeBCRhsTerm_MC(), SUPGElement2::computeBCRhsTerm_MC(), TransportElement::computeBCSubMtrxAt(), TransportElement::computeBCSubVectorAt(), PlaneStress2dXfem::computeBmatrixAt(), StructuralElement::computeConsistentMassMatrix(), TR1_2D_CBS::computeConvectionTermsI(), MDM::computeDamageOnPlane(), CylindricalALM::computeDeltaLambda(), TR1_2D_CBS::computeDensityRhsVelocityTerms(), TR1_2D_CBS::computeDiffusionTermsI(), FEInterpolation3d::computeEdgeMapping(), FEInterpolation2d::computeEdgeMapping(), XfemManager::computeFictPosition(), FEI3dHexaQuad::computeGlobalSurfaceMapping(), Node::computeGNDofTransformation(), TransportElement::computeInternalSourceRhsSubVectorAt(), PlaneStress2d::computeLoadLEToLRotationMatrix(), L4Axisymm::computeLoadLEToLRotationMatrix(), QSpace::computeLoadLSToLRotationMatrix(), LSpace::computeLoadLSToLRotationMatrix(), Node::computeLoadVectorAt(), DofManager::computeLoadVectorAt(), FEI3dTrLin::computeLocalEdgeMapping(), FEI3dHexaLin::computeLocalEdgeMapping(), FEI2dTrQuad::computeLocalEdgeMapping(), FEI2dTrLin::computeLocalEdgeMapping(), FEI2dQuadQuad::computeLocalEdgeMapping(), FEI2dQuadLin::computeLocalEdgeMapping(), StructuralElement::computeLocalForceLoadVector(), FEI3dTrLin::computeLocalSurfaceMapping(), FEI3dHexaQuad::computeLocalSurfaceMapping(), FEI3dHexaLin::computeLocalSurfaceMapping(), StructuralElement::computeLumpedMassMatrix(), PNlDEIDynamic::computeMassMtrx(), RigidArmNode::computeMasterContribution(), XfemManager::computeNodeEnrichmentType(), PlaneStress2dXfem::computeNumberOfDofs(), TR1_2D_CBS::computeNumberOfNodalPrescribedTractionPressureContributions(), SPRNodalRecoveryModel::computePatch(), TR1_2D_CBS::computePrescribedTractionPressure(), J2plasticMaterial::computeReducedGradientMatrix(), J2MPlasticMaterial::computeReducedGradientMatrix(), Masonry02::computeReducedHardeningVarsLamGradient(), Masonry02::computeReducedHardeningVarsSigmaGradient(), J2Mat::computeReducedSSGradientMatrix(), MPlasticMaterial2::computeResidualVector(), MPlasticMaterial::computeResidualVector(), StructuralElement::computeResultingIPTemperatureAt(), B3Material::computeShrinkageStrainVector(), DofManager::computeSlaveDofTransformation(), Masonry02::computeStrainHardeningVarsIncrement(), StructuralMaterial::computeStressIndependentStrainVector(), J2plasticMaterial::ComputeStressSpaceHardeningVars(), J2MPlasticMaterial::computeStressSpaceHardeningVars(), FEInterpolation3d::computeSurfaceMapping(), StructuralElement::condense(), StressStrainBaseVector::convertFromFullForm(), CylindricalALM::convertHPCMap(), StressStrainBaseVector::convertToFullForm(), copySubVector(), T3DInterface::createInput(), Subdivision::createMesh(), MPlasticMaterial2::cuttingPlaneReturn(), MPlasticMaterial::cuttingPlaneReturn(), SPRNodalRecoveryModel::determinePatchAssemblyPoints(), SPRNodalRecoveryModel::determineValuesFromPatch(), oofemOctantRec::divideLocally(), LEPlic::doCellDLS(), LEPlic::doInterfaceRemapping(), LEPlic::doLagrangianPhase(), VTKXMLExportModule::doOutput(), VTKExportModule::doOutput(), FEI3dTrLin::edgeComputeLength(), FEI3dHexaLin::edgeComputeLength(), FEI2dTrLin::edgeComputeLength(), FEI2dQuadLin::edgeComputeLength(), FEI3dTrLin::edgeEvaldNdx(), FEI3dTrLin::edgeLocal2global(), FEI3dHexaLin::edgeLocal2global(), FEI2dTrQuad::edgeLocal2global(), FEI2dTrLin::edgeLocal2global(), FEI2dQuadQuad::edgeLocal2global(), FEI2dQuadLin::edgeLocal2global(), TransportElement::EIPrimaryFieldI_evaluateFieldVectorAt(), TR1_2D_SUPG2::EIPrimaryFieldI_evaluateFieldVectorAt(), TR1_2D_SUPG::EIPrimaryFieldI_evaluateFieldVectorAt(), TR1_2D_CBS::EIPrimaryFieldI_evaluateFieldVectorAt(), PNlDEIDynamic::estimateMaxPackSize(), NonLinearStatic::estimateMaxPackSize(), LinearStatic::estimateMaxPackSize(), FETISolver::estimateMaxPackSize(), InternalVariableField::evaluateAt(), Subdivision::RS_Tetra::evaluateLongestEdge(), Subdivision::RS_Triangle::evaluateLongestEdge(), SloanGraph::evaluateNodeDistances(), Subdivision::exchangeSharedEdges(), VTKXMLExportModule::exportIntVarAs(), VTKExportModule::exportIntVarAs(), POIExportModule::exportIntVarAs(), VTKXMLExportModule::exportIntVars(), VTKExportModule::exportIntVars(), POIExportModule::exportIntVars(), VTKXMLExportModule::exportPointDataHeader(), VTKXMLExportModule::exportPrimaryVars(), VTKExportModule::exportPrimaryVars(), POIExportModule::exportPrimaryVars(), VTKXMLExportModule::exportPrimVarAs(), VTKExportModule::exportPrimVarAs(), SloanGraph::extractCandidates(), Skyline::factorized(), NonlocalMaterialWTP::fastRebuildNonlocalTables(), findCommonValuesSorted(), SUPG::forceEquationNumbering(), EngngModel::forceEquationNumbering(), SloanLevelStructure::formYourself(), Subdivision::RS_Tetra::generate(), Subdivision::RS_Triangle::generate(), XfemManager::getInteractedEI(), MPlasticMaterial2::getNewPopulation(), MPlasticMaterial2::getPopulationSignature(), SpatialLocalizer::giveAllElementsWithNodesWithinBox(), RefinedElement::giveBcDofArray1D(), RefinedElement::giveBcDofArray2D(), RefinedElement::giveBcDofArray3D(), RefinedElement::giveBoundaryFlagArray(), RefinedElement::giveBoundaryLoadArray1D(), RefinedElement::giveBoundaryLoadArray2D(), RefinedElement::giveBoundaryLoadArray3D(), oofemOctantRec::giveChildContainingPoint(), OctreeSpatialLocalizer::giveClosestIPWithinOctant(), FETIBoundaryDofManager::giveCodeNumber(), RefinedElement::giveCompatibleBcDofArray(), DofManager::giveCompleteGlobalDofIDArray(), FETIBoundaryDofManager::giveCompleteLocationArray(), MPlasticMaterial2::giveConsistentStiffnessMatrix(), MPlasticMaterial::giveConsistentStiffnessMatrix(), Skyline::GiveCopy(), RCM2Material::giveCrackedStiffnessMatrix(), Domain::giveDefaultNodeDofIDArry(), Subdivision::RS_Tetra::giveDensity(), Subdivision::RS_Triangle::giveDensity(), Element::giveDofManager(), Element::giveDofManagerNumber(), ZZRemeshingCriteria::giveDofManDensity(), HuertaRemeshingCriteria::giveDofManDensity(), CombinedZZSIRemeshingCriteria::giveDofManDensity(), Truss3d::giveDofManDofIDMask(), Truss2d::giveDofManDofIDMask(), Truss1d::giveDofManDofIDMask(), TrPlaneStress2d::giveDofManDofIDMask(), TrPlaneStrRot::giveDofManDofIDMask(), TrPlaneStrain::giveDofManDofIDMask(), Tr1_ht::giveDofManDofIDMask(), TR1_2D_SUPG2::giveDofManDofIDMask(), TR1_2D_SUPG::giveDofManDofIDMask(), TR1_2D_CBS::giveDofManDofIDMask(), Tetrah1_ht::giveDofManDofIDMask(), RerShell::giveDofManDofIDMask(), Quad1PlaneStrain::giveDofManDofIDMask(), Quad1_ht::giveDofManDofIDMask(), QTrPlaneStress2d::giveDofManDofIDMask(), QPlaneStress2d::giveDofManDofIDMask(), Q4Axisymm::giveDofManDofIDMask(), PY1_3D_SUPG::giveDofManDofIDMask(), PlaneStress2dXfem::giveDofManDofIDMask(), PlaneStress2d::giveDofManDofIDMask(), LTRSpace::giveDofManDofIDMask(), LSpace::giveDofManDofIDMask(), LIBeam3dNL2::giveDofManDofIDMask(), LIBeam3dNL::giveDofManDofIDMask(), LIBeam3d2::giveDofManDofIDMask(), LIBeam3d::giveDofManDofIDMask(), LIBeam2dNL::giveDofManDofIDMask(), LIBeam2d::giveDofManDofIDMask(), L4Axisymm::giveDofManDofIDMask(), InterfaceElem1d::giveDofManDofIDMask(), InterfaceElement3dTrLin::giveDofManDofIDMask(), InterfaceElem2dQuad::giveDofManDofIDMask(), CCTPlate::giveDofManDofIDMask(), Brick1_ht::giveDofManDofIDMask(), Beam3d::giveDofManDofIDMask(), Beam2d::giveDofManDofIDMask(), Axisymm3d::giveDofManDofIDMask(), Truss3d::giveEdgeDofMapping(), Truss2d::giveEdgeDofMapping(), TrPlaneStress2d::giveEdgeDofMapping(), TrPlaneStrain::giveEdgeDofMapping(), Tr1_ht::giveEdgeDofMapping(), Tetrah1_ht::giveEdgeDofMapping(), Quad1PlaneStrain::giveEdgeDofMapping(), Quad1_ht::giveEdgeDofMapping(), PlaneStress2d::giveEdgeDofMapping(), LTRSpace::giveEdgeDofMapping(), LSpace::giveEdgeDofMapping(), LIBeam3dNL2::giveEdgeDofMapping(), LIBeam3dNL::giveEdgeDofMapping(), LIBeam3d2::giveEdgeDofMapping(), LIBeam3d::giveEdgeDofMapping(), LIBeam2dNL::giveEdgeDofMapping(), LIBeam2d::giveEdgeDofMapping(), L4Axisymm::giveEdgeDofMapping(), Brick1_ht::giveEdgeDofMapping(), Axisymm3d::giveEdgeDofMapping(), Subdivision::RS_Tetra::giveEdgeIndex(), Subdivision::RS_Triangle::giveEdgeIndex(), MPlasticMaterial2::giveElastoPlasticStiffnessMatrix(), MPlasticMaterial::giveElastoPlasticStiffnessMatrix(), VTKXMLExportModule::giveElementCell(), VTKExportModule::giveElementCell(), OctreeSpatialLocalizer::giveElementCloseToPointWithinOctant(), OctreeSpatialLocalizer::giveElementContainingPoint(), TransportElement::giveElementDofIDMask(), ConnectivityTable::giveElementNeighbourList(), NonlocalMaterialWTP::giveElementNonlocalDepArry(), OctreeSpatialLocalizer::giveElementsWithIPWithinBox(), SlaveDof::giveEquationNumbers(), Dof::giveEquationNumbers(), FiberedCrossSection::giveFiberMaterialStiffnessMatrix(), OOFEMTXTInputRecord::giveField(), StructuralMaterial::giveFullCharacteristicVector(), SimpleCrossSection::giveFullCharacteristicVector(), NonlocalMaterialExtensionInterface::giveInputRecordString(), FiberedCrossSection::GiveIntegrated3dBeamStress(), LayeredCrossSection::GiveIntegrated3dShellStress(), TransportMaterial::giveIntVarCompFullIndx(), TransportElement::giveIntVarCompFullIndx(), TR1_2D_SUPG2::giveIntVarCompFullIndx(), TR1_2D_SUPG::giveIntVarCompFullIndx(), TR1_2D_CBS::giveIntVarCompFullIndx(), SUPGElement2::giveIntVarCompFullIndx(), SUPGElement::giveIntVarCompFullIndx(), StructuralMaterial::giveIntVarCompFullIndx(), RerShell::giveIntVarCompFullIndx(), RCM2Material::giveIntVarCompFullIndx(), PlasticMaterial::giveIntVarCompFullIndx(), PerfectlyPlasticMaterial::giveIntVarCompFullIndx(), MPlasticMaterial2::giveIntVarCompFullIndx(), MPlasticMaterial::giveIntVarCompFullIndx(), MDM::giveIntVarCompFullIndx(), IsoInterfaceDamageMaterial::giveIntVarCompFullIndx(), IsotropicDamageMaterial::giveIntVarCompFullIndx(), HydratingIsoHeatMaterial::giveIntVarCompFullIndx(), HydratingHeMoMaterial::giveIntVarCompFullIndx(), FiberedCrossSection::giveIntVarCompFullIndx(), Element::giveIntVarCompFullIndx(), DruckerPragerPlasticitySM::giveIntVarCompFullIndx(), CompoDamageMat::giveIntVarCompFullIndx(), CBSElement::giveIntVarCompFullIndx(), StructuralMaterial::giveIPValue(), RCM2Material::giveIPValue(), Subdivision::RS_Element::giveIrregular(), LayeredCrossSection::giveLayerMaterialStiffnessMatrix(), OctreeSpatialLocalizer::giveListOfTerminalCellsInBoundingBox(), DirectErrorIndicatorRC::giveLocalDofManDensity(), DirectErrorIndicatorRC::giveLocalDofManIndicator(), PlaneStress2dXfem::giveLocationArray(), DofManager::giveLocationArray(), SlaveDof::giveMasterDof(), SlaveDof::giveMasterDofManArray(), SimpleSlaveDof::giveMasterDofManArray(), DofManager::giveMasterDofMans(), OctreeSpatialLocalizer::giveMaxTreeDepthFrom(), Subdivision::RS_Element::giveNeighbor(), PetscNatural2LocalOrdering::giveNewEq(), PetscNatural2GlobalOrdering::giveNewEq(), SUPG::giveNewEquationNumber(), EngngModel::giveNewEquationNumber(), SUPG::giveNewPrescribedEquationNumber(), EngngModel::giveNewPrescribedEquationNumber(), LEPlic::giveNodalScalarRepresentation(), Subdivision::RS_Element::giveNode(), Element::giveNode(), ConnectivityTable::giveNodeNeighbourList(), OctreeSpatialLocalizer::giveNodesWithinBox(), RCM2Material::giveNormalElasticStiffnessMatrix(), EngngModel::giveNumberOfDomainEquations(), EngngModel::giveNumberOfPrescribedDomainEquations(), DofManager::giveNumberOfPrimaryMasterDofs(), OctreeSpatialLocalizer::giveOctreeMaskValue(), DofManager::givePrescribedUnknownVector(), RCM2Material::giveRealPrincipalStressVector3d(), LayeredCrossSection::giveRealStresses(), FiberedCrossSection::giveRealStresses(), StructuralMaterial::giveReducedCharacteristicVector(), SimpleCrossSection::giveReducedCharacteristicVector(), Subdivision::RS_Element::giveRequiredDensity(), Subdivision::RS_Element::giveSharedEdge(), FETIBoundaryDofManager::giveSharedPartition(), Subdivision::RS_SharedEdge::giveSharedPartitions(), Element::giveSide(), Subdivision::RS_Tetra::giveSideNodes(), Subdivision::RS_Triangle::giveSideNodes(), J2Mat::giveStressBackVector(), LayeredCrossSection::giveStressStrainMask(), FiberedCrossSection::giveStressStrainMask(), FloatArray::GiveSubArray(), Tetrah1_ht::giveSurfaceDofMapping(), QSpace::giveSurfaceDofMapping(), LTRSpace::giveSurfaceDofMapping(), LSpace::giveSurfaceDofMapping(), Brick1_ht::giveSurfaceDofMapping(), RCM2MaterialStatus::giveTempCrackStatus(), DofManager::giveUnknownVector(), DynCompRow::ILUPYourself(), Subdivision::RS_Tetra::importConnectivity(), Subdivision::RS_Triangle::importConnectivity(), Subdivision::RS_Node::importConnectivity(), PetscNatural2LocalOrdering::init(), PetscNatural2GlobalOrdering::init(), SloanGraph::initialize(), SlaveDof::initialize(), CompCol_ILUPreconditioner::initialize(), FastMarchingMethod::initialize(), TwoFluidMaterial::initializeFrom(), StationaryTransportProblem::initializeFrom(), NonStationaryTransportProblem::initializeFrom(), Load::initializeFrom(), DofManager::initializeFrom(), LoadBalancer::initializeWtp(), SPRNodalRecoveryModel::initPatch(), NRSolver::initPrescribedEqs(), ZZNodalRecoveryModel::initRegionMap(), SPRNodalRecoveryModel::initRegionMap(), NodalAveragingRecoveryModel::initRegionMap(), VTKXMLExportModule::initRegionNodeNumbering(), VTKExportModule::initRegionNodeNumbering(), NodalRecoveryModel::initRegionNodeNumbering(), SloanGraph::initStatusAndPriority(), RCM2MaterialStatus::initTempStatus(), DynCompRow::insertColInRow(), OctreeSpatialLocalizer::insertElementsUsingNodalConnectivitiesIntoOctree(), EnrichmentFunction::insertEnrichmentItem(), DynCompCol::insertRowInColumn(), ConnectivityTable::instanciateConnectivityTable(), XfemManager::instanciateYourself(), PolylineNonlocalBarrier::isActivated(), LEPlicElementInterface::isBoundary(), RCM2MaterialStatus::isCrackActive(), Load::isDofExcluded(), EnrichmentItem::isDofManEnriched(), PetscOrdering_Base::isLocal(), DofManager::isLocal(), Subdivision::RS_Tetra::isNeighborOf(), Subdivision::RS_Triangle::isNeighborOf(), Subdivision::isNodeLocalIrregular(), Subdivision::isNodeLocalSharedIrregular(), Skyline::ldl_feti_sky(), TR1_2D_SUPG::LS_PCS_computeF(), PY1_3D_SUPG::LS_PCS_computeF(), TR1_2D_SUPG::LS_PCS_computeS(), PY1_3D_SUPG::LS_PCS_computeS(), PetscNatural2LocalOrdering::map2New(), PetscNatural2GlobalOrdering::map2New(), PetscNatural2LocalOrdering::map2Old(), PetscNatural2GlobalOrdering::map2Old(), EIPrimaryUnknownMapper::mapAndUpdate(), FETISolver::masterMapDirectionVector(), FETISolver::masterMapGammas(), FETISolver::masterMapPPVector(), FETISolver::masterMapQQProduct(), FETISolver::masterMapRBM(), FETISolver::masterMapResiduals(), FETISolver::masterMapSolution(), FETISolver::masterUnpackQQProduct(), FETISolver::masterUnpackRBM(), DofManager::mergePartitionList(), NonlocalMaterialWTP::migrate(), LoadBalancer::migrateLoad(), MDM::MMI_map(), IsotropicDamageMaterial1::MMI_map(), Subdivision::RS_Tetra::numberSharedEdges(), Subdivision::RS_Triangle::numberSharedEdges(), Subdivision::RS_Node::numberSharedEdges(), FETISolver::packDirectionVector(), FETISolver::packGammas(), StructuralEngngModel::packInternalForces(), Subdivision::packIrregularSharedGlobnums(), StructuralEngngModel::packLoad(), PNlDEIDynamic::packMasses(), FETISolver::packPPVector(), FETISolver::packRBM(), StructuralEngngModel::packReactions(), StructuralEngngModel::packRemoteElementData(), Subdivision::packRemoteElements(), FETISolver::packResiduals(), ZZNodalRecoveryModel::packSharedDofManData(), SPRNodalRecoveryModel::packSharedDofManData(), NodalAveragingRecoveryModel::packSharedDofManData(), DirectErrorIndicatorRC::packSharedDofManLocalDensities(), DirectErrorIndicatorRC::packSharedDofManLocalIndicatorVals(), Subdivision::packSharedEdges(), Subdivision::packSharedIrregulars(), FETISolver::packSolution(), RCSDEMaterialStatus::printOutputAt(), RCSDMaterialStatus::printOutputAt(), RCM2MaterialStatus::printOutputAt(), StructuralEngngModel::printReactionForces(), NRSolver::printState(), printYourself(), ProblemCommunicator::quickSortPartition(), PNlDEIDynamicComunicator::quickSortPartition(), quickSortPartition(), Skyline::rbmodes(), StringReader::ReadIntArray(), NonlocalMaterialExtensionInterface::rebuildNonlocalPointTable(), ZZNodalRecoveryModel::recoverValues(), SPRNodalRecoveryModel::recoverValues(), NodalAveragingRecoveryModel::recoverValues(), LevelSetPCS::redistance(), RefinedMesh::refineMeshGlobally(), SlaveDof::restoreContext(), LayeredCrossSection::restoreContext(), FiberedCrossSection::restoreContext(), Element::restoreContext(), DofManager::restoreContext(), SlaveDof::saveContext(), LayeredCrossSection::saveContext(), FiberedCrossSection::saveContext(), Element::saveContext(), FETIBoundaryDofManager::setCodeNumbers(), SkylineUnsym::setInternalStructure(), Skyline::setInternalStructure(), Subdivision::RS_Element::setIrregular(), Subdivision::RS_Element::setNeighbor(), EngngModel::setNumberOfEquations(), Subdivision::RS_Element::setSharedEdge(), RCM2MaterialStatus::setTempCrackStatus(), FETISolver::setUpCommunicationMaps(), FETICommunicator::setUpCommunicationMaps(), ProblemCommunicator::setUpCommunicationMapsForElementCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForElementCut(), ProblemCommunicator::setUpCommunicationMapsForNodeCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForNodeCut(), ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), PNlDEIDynamicComunicator::setUpCommunicationMapsForRemoteElementMode(), HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), HuertaErrorEstimator::setupRefinedProblemProlog(), ErrorEstimator::skipRegion(), Subdivision::smoothMesh(), FreemInterface::smoothNodalDensities(), NRSolver::solve(), LineSearchNM::solve(), FETISolver::solve(), FastMarchingMethod::solve(), CylindricalALM::solve(), HuertaErrorEstimator::solveRefinedElementProblem(), HuertaErrorEstimator::solveRefinedPatchProblem(), NlDEIDynamic::solveYourselfAt(), DEIDynamic::solveYourselfAt(), TrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TrPlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TR1_2D_SUPG2_AXI::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TR1_2D_SUPG2::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TR1_2D_SUPG::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TR1_2D_CBS::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), Quad1PlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), QTrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), PlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), LTRSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), LSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), L4Axisymm::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), CCTPlate::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), Axisymm3d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TrPlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TrPlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TR1_2D_SUPG2_AXI::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TR1_2D_SUPG2::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TR1_2D_SUPG::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TR1_2D_CBS::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), Quad1PlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), QTrPlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), PlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), LTRSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), LSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), L4Axisymm::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), CCTPlate::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), Axisymm3d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), FEI3dTrLin::surfaceGiveTransformationJacobian(), FEI3dHexaQuad::surfaceGiveTransformationJacobian(), FEI3dHexaLin::surfaceGiveTransformationJacobian(), FEI3dTrLin::surfaceLocal2global(), FEI3dHexaQuad::surfaceLocal2global(), FEI3dHexaLin::surfaceLocal2global(), Skyline::times(), Skyline::toFloatMatrix(), SloanGraph::tryParameters(), Communicator::unpackAllData(), FETISolver::unpackDirectionVector(), StructuralEngngModel::unpackInternalForces(), Subdivision::unpackIrregularSharedGlobnums(), StructuralEngngModel::unpackLoad(), PNlDEIDynamic::unpackMasses(), FETISolver::unpackPPVector(), StructuralEngngModel::unpackReactions(), StructuralEngngModel::unpackRemoteElementData(), Subdivision::unpackRemoteElements(), NonlocalMaterialWTP::unpackRemoteElements(), FETISolver::unpackResiduals(), ZZNodalRecoveryModel::unpackSharedDofManData(), SPRNodalRecoveryModel::unpackSharedDofManData(), NodalAveragingRecoveryModel::unpackSharedDofManData(), DirectErrorIndicatorRC::unpackSharedDofManLocalDensities(), DirectErrorIndicatorRC::unpackSharedDofManLocalIndicatorVals(), Subdivision::unpackSharedEdges(), Subdivision::unpackSharedIrregulars(), FETISolver::unpackSolution(), Subdivision::RS_Tetra::update_neighbours(), Subdivision::RS_Triangle::update_neighbours(), RCM2Material::updateActiveCrackMap(), RCM2Material::updateCrackStatus(), SlaveDof::updateLocalNumbering(), Element::updateLocalNumbering(), LevelSetPCS::updatePosition(), NodalRecoveryModel::updateRegionRecoveredValues(), FastMarchingMethod::updateTrialValue(), SloanGraph::writeOptimalRenumberingTable(), XfemElementInterface::XfemElementInterface_prepareNodesForDelaunay(), and XfemElementInterface::XfemElementInterface_updateIntegrationRule().
| int IntArray::at | ( | int | i | ) | const [inline] |
| int& IntArray::operator() | ( | int | i | ) | [inline] |
Coefficient access function.
Returns value of coeffiicient at given position of the receiver. Provides 0-based indexing access.
| i | position of coefficient in array |
Definition at line 136 of file intarray.h.
| const int& IntArray::operator() | ( | int | i | ) | const [inline] |
Coefficient access function.
Returns value of coeffiicient at given position of the receiver. Provides 0-based indexing access.
| i | position of coefficient in array |
Definition at line 148 of file intarray.h.
| void IntArray::checkBounds | ( | int | i | ) | const |
Checks size of receiver towards requested bounds.
Current implementation will call exit(1), if dimension mismatch found.
| i | required size of receiver |
Referenced by erase().
| void IntArray::resize | ( | int | n, | |
| int | allocChunk = 0 | |||
| ) |
Checks size of receiver towards requested bounds.
If dimension mismatch, size is adjusted accordingly. Warning: after this operation array values are in undefined state, programmer should zero receiver
| allocChunk | if reallocation needed, an aditional space for allocChunk values will be allocated |
Definition at line 176 of file intarray.C.
References allocatedSize, allocInt(), freeInt(), size, and values.
Referenced by MMALeastSquareProjection::__init(), AdaptiveNonLinearStatic::adaptiveRemap(), addSubVector(), NRSolver::applyConstraintsToStiffness(), SymCompCol::buildInternalStructure(), CompCol::buildInternalStructure(), StructuralEngngModel::buildReactionTable(), RigidArmNode::checkConsistency(), RCM2Material::checkForNewActiveCracks(), MPlasticMaterial2::closestPointReturn(), FEInterpolation3d::computeEdgeMapping(), FEInterpolation2d::computeEdgeMapping(), XfemManager::computeFictPosition(), FEI3dHexaQuad::computeGlobalSurfaceMapping(), FEI3dTrLin::computeLocalEdgeMapping(), FEI3dHexaLin::computeLocalEdgeMapping(), FEI2dTrQuad::computeLocalEdgeMapping(), FEI2dTrLin::computeLocalEdgeMapping(), FEI2dQuadQuad::computeLocalEdgeMapping(), FEI2dQuadLin::computeLocalEdgeMapping(), FEI3dTrLin::computeLocalSurfaceMapping(), FEI3dHexaQuad::computeLocalSurfaceMapping(), FEI3dHexaLin::computeLocalSurfaceMapping(), DofManager::computeSlaveDofTransformation(), FEInterpolation3d::computeSurfaceMapping(), CylindricalALM::convertHPCMap(), copySubVector(), T3DInterface::createInput(), Subdivision::createMesh(), MPlasticMaterial2::cuttingPlaneReturn(), SPRNodalRecoveryModel::determinePatchAssemblyPoints(), DofManager::DofManager(), ErrorEstimator::ErrorEstimator(), HuertaErrorEstimator::estimateError(), NonlocalMaterialWTP::fastRebuildNonlocalTables(), SloanLevelStructure::formYourself(), Subdivision::RS_Tetra::generate(), Subdivision::RS_Triangle::generate(), XfemManager::getInteractedEI(), MPlasticMaterial2::getNewPopulation(), RefinedElement::giveBcDofArray1D(), RefinedElement::giveBcDofArray2D(), RefinedElement::giveBcDofArray3D(), RefinedElement::giveBoundaryFlagArray(), RefinedElement::giveBoundaryLoadArray1D(), RefinedElement::giveBoundaryLoadArray2D(), RefinedElement::giveBoundaryLoadArray3D(), RefinedElement::giveCompatibleBcDofArray(), FETIBoundaryDofManager::giveCompleteLocationArray(), Domain::giveDefaultNodeDofIDArry(), Domain::giveDefaultSideDofIDArry(), Truss3d::giveDofManDofIDMask(), Truss2d::giveDofManDofIDMask(), Truss1d::giveDofManDofIDMask(), TrPlaneStress2d::giveDofManDofIDMask(), TrPlaneStrRot::giveDofManDofIDMask(), TrPlaneStrain::giveDofManDofIDMask(), Tr1_ht::giveDofManDofIDMask(), TR1_2D_SUPG2::giveDofManDofIDMask(), TR1_2D_SUPG::giveDofManDofIDMask(), TR1_2D_CBS::giveDofManDofIDMask(), Tetrah1_ht::giveDofManDofIDMask(), RerShell::giveDofManDofIDMask(), Quad1PlaneStrain::giveDofManDofIDMask(), Quad1_ht::giveDofManDofIDMask(), QTrPlaneStress2d::giveDofManDofIDMask(), QPlaneStress2d::giveDofManDofIDMask(), Q4Axisymm::giveDofManDofIDMask(), PY1_3D_SUPG::giveDofManDofIDMask(), PlaneStress2d::giveDofManDofIDMask(), LTRSpace::giveDofManDofIDMask(), LSpace::giveDofManDofIDMask(), LIBeam3dNL2::giveDofManDofIDMask(), LIBeam3dNL::giveDofManDofIDMask(), LIBeam3d2::giveDofManDofIDMask(), LIBeam3d::giveDofManDofIDMask(), LIBeam2dNL::giveDofManDofIDMask(), LIBeam2d::giveDofManDofIDMask(), L4Axisymm::giveDofManDofIDMask(), InterfaceElem1d::giveDofManDofIDMask(), InterfaceElement3dTrLin::giveDofManDofIDMask(), InterfaceElem2dQuad::giveDofManDofIDMask(), Element::giveDofManDofIDMask(), CCTPlate::giveDofManDofIDMask(), Brick1_ht::giveDofManDofIDMask(), Beam3d::giveDofManDofIDMask(), Beam2d::giveDofManDofIDMask(), Axisymm3d::giveDofManDofIDMask(), Truss3d::giveEdgeDofMapping(), Truss2d::giveEdgeDofMapping(), TrPlaneStress2d::giveEdgeDofMapping(), TrPlaneStrain::giveEdgeDofMapping(), Tr1_ht::giveEdgeDofMapping(), Tetrah1_ht::giveEdgeDofMapping(), StructuralElement::giveEdgeDofMapping(), Quad1PlaneStrain::giveEdgeDofMapping(), Quad1_ht::giveEdgeDofMapping(), PlaneStress2d::giveEdgeDofMapping(), LTRSpace::giveEdgeDofMapping(), LSpace::giveEdgeDofMapping(), LIBeam3dNL2::giveEdgeDofMapping(), LIBeam3dNL::giveEdgeDofMapping(), LIBeam3d2::giveEdgeDofMapping(), LIBeam3d::giveEdgeDofMapping(), LIBeam2dNL::giveEdgeDofMapping(), LIBeam2d::giveEdgeDofMapping(), L4Axisymm::giveEdgeDofMapping(), Brick1_ht::giveEdgeDofMapping(), Axisymm3d::giveEdgeDofMapping(), VTKXMLExportModule::giveElementCell(), VTKExportModule::giveElementCell(), TransportElement::giveElementDofIDMask(), Element::giveElementDofIDMask(), ConnectivityTable::giveElementNeighbourList(), NonlocalMaterialWTP::giveElementNonlocalDepArry(), SlaveDof::giveEquationNumbers(), Dof::giveEquationNumbers(), OOFEMTXTInputRecord::giveField(), TransportMaterial::giveIntVarCompFullIndx(), TransportElement::giveIntVarCompFullIndx(), TR1_2D_SUPG2::giveIntVarCompFullIndx(), TR1_2D_SUPG::giveIntVarCompFullIndx(), TR1_2D_CBS::giveIntVarCompFullIndx(), SUPGElement2::giveIntVarCompFullIndx(), SUPGElement::giveIntVarCompFullIndx(), StructuralMaterial::giveIntVarCompFullIndx(), RerShell::giveIntVarCompFullIndx(), RCM2Material::giveIntVarCompFullIndx(), PlasticMaterial::giveIntVarCompFullIndx(), PerfectlyPlasticMaterial::giveIntVarCompFullIndx(), MPlasticMaterial2::giveIntVarCompFullIndx(), MPlasticMaterial::giveIntVarCompFullIndx(), MDM::giveIntVarCompFullIndx(), Material::giveIntVarCompFullIndx(), IsoInterfaceDamageMaterial::giveIntVarCompFullIndx(), IsotropicDamageMaterial::giveIntVarCompFullIndx(), HydratingIsoHeatMaterial::giveIntVarCompFullIndx(), HydratingHeMoMaterial::giveIntVarCompFullIndx(), FiberedCrossSection::giveIntVarCompFullIndx(), Element::giveIntVarCompFullIndx(), DruckerPragerPlasticitySM::giveIntVarCompFullIndx(), CompoDamageMat::giveIntVarCompFullIndx(), CBSElement::giveIntVarCompFullIndx(), IDNLMaterial::giveLocalNonlocalStiffnessContribution(), PlaneStress2dXfem::giveLocationArray(), Element::giveLocationArray(), StructuralElement::giveMassMtrxIntegrationgMask(), SlaveDof::giveMasterDofManArray(), SimpleSlaveDof::giveMasterDofManArray(), Dof::giveMasterDofManArray(), DofManager::giveMasterDofMans(), ConnectivityTable::giveNodeNeighbourList(), StructuralElement::giveNonlocalLocationArray(), NodalRecoveryModel::giveRegionRecordMap(), Subdivision::RS_Tetra::giveSideNodes(), Subdivision::RS_Triangle::giveSideNodes(), LayeredCrossSection::giveStressStrainMask(), FiberedCrossSection::giveStressStrainMask(), TransportElement::giveSurfaceDofMapping(), Tetrah1_ht::giveSurfaceDofMapping(), StructuralElement::giveSurfaceDofMapping(), QSpace::giveSurfaceDofMapping(), LTRSpace::giveSurfaceDofMapping(), LSpace::giveSurfaceDofMapping(), Brick1_ht::giveSurfaceDofMapping(), DynCompRow::ILUPYourself(), Subdivision::RS_Tetra::importConnectivity(), Subdivision::RS_Triangle::importConnectivity(), PetscNatural2LocalOrdering::init(), PetscNatural2GlobalOrdering::init(), SloanGraph::initialize(), SlaveDof::initialize(), CompCol_ILUPreconditioner::initialize(), CompCol_ICPreconditioner::initialize(), VTKXMLExportModule::initializeFrom(), VTKExportModule::initializeFrom(), RandomMaterialExtensionInterface::initializeFrom(), NRSolver::initializeFrom(), Load::initializeFrom(), ExportModule::initializeFrom(), ErrorEstimator::initializeFrom(), Element::initializeFrom(), DofManager::initializeFrom(), CylindricalALM::initializeFrom(), SPRNodalRecoveryModel::initPatch(), NRSolver::initPrescribedEqs(), ZZNodalRecoveryModel::initRegionMap(), SPRNodalRecoveryModel::initRegionMap(), NodalAveragingRecoveryModel::initRegionMap(), VTKXMLExportModule::initRegionNodeNumbering(), VTKExportModule::initRegionNodeNumbering(), NodalRecoveryModel::initRegionNodeNumbering(), DynCompRow::insertColInRow(), EnrichmentFunction::insertEnrichmentItem(), DynCompCol::insertRowInColumn(), EngngModel::instanciateYourself(), Subdivision::RS_Tetra::makeSharedEdges(), Subdivision::RS_Triangle::makeSharedEdges(), PetscNatural2LocalOrdering::map2New(), PetscNatural2GlobalOrdering::map2New(), PetscNatural2LocalOrdering::map2Old(), PetscNatural2GlobalOrdering::map2Old(), EIPrimaryUnknownMapper::mapAndUpdate(), MDM::MMI_map(), NonlocalMaterialExtensionInterface::NonlocalMaterialExtensionInterface(), SPRNodalRecoveryModel::recoverValues(), NodalAveragingRecoveryModel::recoverValues(), RefinedElement::RefinedElement(), RefinedMesh::refineMeshGlobally(), Subdivision::RS_SharedEdge::removePartitions(), SlaveDof::restoreContext(), Subdivision::RS_Tetra::RS_Tetra(), Subdivision::RS_Triangle::RS_Triangle(), FETIBoundaryDofManager::setCodeNumbers(), SkylineUnsym::setInternalStructure(), FETISolver::setUpCommunicationMaps(), ProblemCommunicator::setUpCommunicationMapsForElementCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForElementCut(), ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), PNlDEIDynamicComunicator::setUpCommunicationMapsForRemoteElementMode(), Subdivision::smoothMesh(), FETISolver::solve(), HuertaErrorEstimator::solveRefinedElementProblem(), HuertaErrorEstimator::solveRefinedPatchProblem(), TrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TrPlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TR1_2D_SUPG2_AXI::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TR1_2D_SUPG2::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TR1_2D_SUPG::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TR1_2D_CBS::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), Quad1PlaneStrain::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), QTrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), PlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), LTRSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), LSpace::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), L4Axisymm::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), CCTPlate::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), Axisymm3d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), TrPlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TrPlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TR1_2D_SUPG2_AXI::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TR1_2D_SUPG2::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TR1_2D_SUPG::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), TR1_2D_CBS::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), Quad1PlaneStrain::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), QTrPlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), PlaneStress2d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), LTRSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), LSpace::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), L4Axisymm::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), CCTPlate::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), Axisymm3d::SPRNodalRecoveryMI_giveSPRAssemblyPoints(), SloanGraph::tryParameters(), unpackFromCommBuffer(), and NonlocalMaterialWTP::unpackRemoteElements().
| void IntArray::preallocate | ( | int | futureSize | ) |
Preallocates receiver to given futureSize if larger then allocatedSize.
Warning: after this operation array values are in undefined state, programmer should zero receiver
| futureSize | size to be allocated |
Definition at line 208 of file intarray.C.
References allocatedSize, allocInt(), freeInt(), size, and values.
Referenced by Subdivision::RS_Tetra::bisect(), Subdivision::RS_Node::buildTopLevelNodeConnectivity(), Subdivision::exchangeSharedEdges(), Subdivision::RS_Node::importConnectivity(), Subdivision::RS_Tetra::numberSharedEdges(), Subdivision::RS_Node::preallocateConnectedElements(), Subdivision::unpackIrregularSharedGlobnums(), Subdivision::unpackSharedEdges(), and Subdivision::unpackSharedIrregulars().
| void IntArray::followedBy | ( | const IntArray & | b, | |
| int | allocChunk = 0 | |||
| ) |
Appends array b at the end of receiver.
| b | array to be appended at the end of receiver | |
| allocChunk | if reallocation needed, an aditional space for allocChunk values will be allocated will be allocated to prevent excessive realocation |
Definition at line 232 of file intarray.C.
References allocatedSize, allocInt(), freeInt(), size, and values.
Referenced by MMALeastSquareProjection::__init(), Subdivision::RS_SharedEdge::addPartition(), FETIBoundaryDofManager::addPartition(), XfemManager::computeFictPosition(), findCommonValuesSorted(), SloanLevelStructure::formYourself(), PlaneStress2dXfem::giveDofManDofIDMask(), PlaneStress2dXfem::giveLocationArray(), Element::giveLocationArray(), StructuralElement::giveNonlocalLocationArray(), Subdivision::RS_SharedEdge::giveSharedPartitions(), insertOnce(), EIPrimaryUnknownMapper::mapAndUpdate(), Subdivision::RS_Tetra::numberSharedEdges(), and Subdivision::RS_Triangle::numberSharedEdges().
| void IntArray::followedBy | ( | const int | b, | |
| int | allocChunk = 0 | |||
| ) |
Appends given Number at the end of receiver.
| b | value to be appended | |
| allocChunk | if reallocation needed, an aditional space for allocChunk values will be allocated will be allocated to prevent excessive realocation |
Definition at line 288 of file intarray.C.
References allocatedSize, allocInt(), freeInt(), size, and values.
| int IntArray::giveSize | ( | ) | const [inline] |
Returns the size of receiver.
Definition at line 190 of file intarray.h.
References size.
Referenced by MMAShapeFunctProjection::__init(), MMALeastSquareProjection::__init(), RandomMaterialExtensionInterface::_generateStatusVariables(), addSubVector(), NRSolver::applyConstraintsToLoadIncrement(), NRSolver::applyConstraintsToStiffness(), SymCompCol::assemble(), SkylineUnsym::assemble(), Skyline::assemble(), PetscSparseMtrx::assemble(), FloatMatrix::assemble(), FloatArray::assemble(), DynCompRow::assemble(), DynCompCol::assemble(), CompCol::assemble(), PLinearStatic::assembleVectorFromDofManagers(), FloatArray::beSubArrayOf(), FloatMatrix::beSubMatrixOf(), FloatMatrix::beSubMatrixOfSizeOf(), Subdivision::RS_Tetra::bisect(), Subdivision::RS_Triangle::bisect(), SymCompCol::buildInternalStructure(), SkylineUnsym::buildInternalStructure(), Skyline::buildInternalStructure(), PetscSparseMtrx::buildInternalStructure(), DynCompRow::buildInternalStructure(), DynCompCol::buildInternalStructure(), CompCol::buildInternalStructure(), Subdivision::RS_Element::buildTopLevelNodeConnectivity(), Subdivision::RS_Node::buildTopLevelNodeConnectivity(), SkylineUnsym::checkSizeTowards(), RowColumn::checkSizeTowards(), FloatArray::checkSizeTowards(), DynCompRow::checkSizeTowards(), DynCompCol::checkSizeTowards(), Column::checkSizeTowards(), StructuralElement::computeBcLoadVectorAt(), TR1_2D_SUPG_AXI::computeBCRhsTerm_MB(), TR1_2D_SUPG2_AXI::computeBCRhsTerm_MB(), TR1_2D_SUPG2::computeBCRhsTerm_MB(), TR1_2D_SUPG::computeBCRhsTerm_MB(), SUPGElement2::computeBCRhsTerm_MB(), TR1_2D_SUPG_AXI::computeBCRhsTerm_MC(), TR1_2D_SUPG2_AXI::computeBCRhsTerm_MC(), TR1_2D_SUPG::computeBCRhsTerm_MC(), SUPGElement2::computeBCRhsTerm_MC(), TransportElement::computeBCSubMtrxAt(), TransportElement::computeBCSubVectorAt(), TR1_2D_CBS::computeConvectionTermsI(), CylindricalALM::computeDeltaLambda(), TR1_2D_CBS::computeDensityRhsVelocityTerms(), TR1_2D_CBS::computeDiffusionTermsI(), Node::computeDofTransformation(), DofManager::computeDofTransformation(), FEInterpolation3d::computeEdgeMapping(), FEInterpolation2d::computeEdgeMapping(), XfemManager::computeFictPosition(), Element::computeGlobalNumberOfDofs(), Node::computeGNDofTransformation(), TransportElement::computeInternalSourceRhsSubVectorAt(), Node::computeLoadVectorAt(), DofManager::computeLoadVectorAt(), StructuralElement::computeLocalForceLoadVector(), StructuralElement::computeLumpedMassMatrix(), PNlDEIDynamic::computeMassMtrx(), XfemManager::computeNodeEnrichmentType(), TR1_2D_CBS::computeNumberOfNodalPrescribedTractionPressureContributions(), SPRNodalRecoveryModel::computePatch(), TR1_2D_CBS::computePrescribedTractionPressure(), StructuralElement::computeResultingIPTemperatureAt(), DofManager::computeSlaveDofTransformation(), J2plasticMaterial::ComputeStressSpaceHardeningVars(), J2MPlasticMaterial::computeStressSpaceHardeningVars(), FEInterpolation3d::computeSurfaceMapping(), ElementSide::computeTransformation(), SloanLevelStructure::computeWidth(), StructuralElement::condense(), StressStrainBaseVector::convertFromFullForm(), CylindricalALM::convertHPCMap(), StressStrainBaseVector::convertToFullForm(), copySubVector(), Subdivision::createMesh(), SPRNodalRecoveryModel::determinePatchAssemblyPoints(), SPRNodalRecoveryModel::determineValuesFromPatch(), LEPlic::doCellDLS(), LEPlic::doInterfaceRemapping(), VTKExportModule::doOutput(), TransportElement::EIPrimaryFieldI_evaluateFieldVectorAt(), TR1_2D_SUPG2::EIPrimaryFieldI_evaluateFieldVectorAt(), TR1_2D_SUPG::EIPrimaryFieldI_evaluateFieldVectorAt(), TR1_2D_CBS::EIPrimaryFieldI_evaluateFieldVectorAt(), PNlDEIDynamic::estimateMaxPackSize(), NonLinearStatic::estimateMaxPackSize(), LinearStatic::estimateMaxPackSize(), FETISolver::estimateMaxPackSize(), SloanGraph::evaluateNodeDistances(), Subdivision::exchangeSharedEdges(), VTKXMLExportModule::exportIntVarAs(), VTKExportModule::exportIntVarAs(), VTKXMLExportModule::exportIntVars(), VTKExportModule::exportIntVars(), POIExportModule::exportIntVars(), VTKXMLExportModule::exportPointDataHeader(), VTKXMLExportModule::exportPrimaryVars(), VTKExportModule::exportPrimaryVars(), POIExportModule::exportPrimaryVars(), SloanGraph::extractCandidates(), findCommonValuesSorted(), SloanLevelStructure::formYourself(), Subdivision::RS_Tetra::generate(), Subdivision::RS_Triangle::generate(), MPlasticMaterial2::getNewPopulation(), MPlasticMaterial2::getPopulationSignature(), SpatialLocalizer::giveAllElementsWithNodesWithinBox(), DynCompRow::giveColIndx(), Domain::giveDefaultNodeDofIDArry(), Element::giveDofManager(), ZZRemeshingCriteria::giveDofManDensity(), HuertaRemeshingCriteria::giveDofManDensity(), CombinedZZSIRemeshingCriteria::giveDofManDensity(), PlaneStress2dXfem::giveDofManDofIDMask(), RCM2Material::giveEffectiveMaterialStiffnessMatrix(), ConnectivityTable::giveElementNeighbourList(), SlaveDof::giveEquationNumbers(), StructuralMaterial::giveFullCharacteristicVector(), SimpleCrossSection::giveFullCharacteristicVector(), NonlocalMaterialExtensionInterface::giveInputRecordString(), DirectErrorIndicatorRC::giveLocalDofManDensity(), DirectErrorIndicatorRC::giveLocalDofManIndicator(), PlaneStress2dXfem::giveLocationArray(), DofManager::giveLocationArray(), SlaveDof::giveMasterDofManArray(), DofManager::giveMasterDofMans(), LEPlic::giveNodalScalarRepresentation(), Element::giveNode(), DirectErrorIndicatorRC::giveNodeChar(), ConnectivityTable::giveNodeNeighbourList(), DofManager::giveNumberOfPrimaryMasterDofs(), DofManager::givePartitionsConnectivitySize(), DofManager::givePrescribedUnknownVector(), RCM2Material::giveRealPrincipalStressVector3d(), StructuralMaterial::giveReducedCharacteristicVector(), SimpleCrossSection::giveReducedCharacteristicVector(), Subdivision::RS_Element::giveRequiredDensity(), DynCompCol::giveRowIndx(), Subdivision::RS_SharedEdge::giveSharedPartitions(), Element::giveSide(), J2Mat::giveStressBackVector(), FloatArray::GiveSubArray(), DofManager::giveUnknownVector(), CompCol_ICPreconditioner::ICFactor(), DynCompRow::ILUPYourself(), Subdivision::RS_Tetra::importConnectivity(), Subdivision::RS_Triangle::importConnectivity(), Subdivision::RS_Node::importConnectivity(), PetscNatural2GlobalOrdering::init(), SloanGraph::initialize(), SlaveDof::initialize(), CompCol_ILUPreconditioner::initialize(), FastMarchingMethod::initialize(), TwoFluidMaterial::initializeFrom(), SymmetryBarrier::initializeFrom(), StationaryTransportProblem::initializeFrom(), RigidArmNode::initializeFrom(), RandomMaterialExtensionInterface::initializeFrom(), NRSolver::initializeFrom(), NonStationaryTransportProblem::initializeFrom(), NonlocalMaterialExtensionInterface::initializeFrom(), Load::initializeFrom(), LayeredCrossSection::initializeFrom(), HangingNode::initializeFrom(), FiberedCrossSection::initializeFrom(), DofManager::initializeFrom(), CylindricalALM::initializeFrom(), Beam3d::initializeFrom(), Beam2d::initializeFrom(), LoadBalancer::initializeWtp(), SPRNodalRecoveryModel::initPatch(), SloanGraph::initStatusAndPriority(), DynCompRow::insertColInRow(), OctreeSpatialLocalizer::insertElementsUsingNodalConnectivitiesIntoOctree(), EnrichmentFunction::insertEnrichmentItem(), DynCompCol::insertRowInColumn(), PolylineNonlocalBarrier::isActivated(), LEPlicElementInterface::isBoundary(), Load::isDofExcluded(), EnrichmentItem::isDofManEnriched(), XfemManager::isInteracted(), PetscOrdering_Base::isLocal(), DofManager::isLocal(), Subdivision::isNodeLocalIrregular(), Subdivision::isNodeLocalSharedIrregular(), PetscNatural2LocalOrdering::map2New(), PetscNatural2GlobalOrdering::map2New(), PetscNatural2LocalOrdering::map2Old(), PetscNatural2GlobalOrdering::map2Old(), EIPrimaryUnknownMapper::mapAndUpdate(), FETISolver::masterMapDirectionVector(), FETISolver::masterMapPPVector(), FETISolver::masterMapRBM(), FETISolver::masterMapResiduals(), FETISolver::masterMapSolution(), FETISolver::masterUnpackRBM(), DofManager::mergePartitionList(), NonlocalMaterialWTP::migrate(), LoadBalancer::migrateLoad(), FEInterpolation::nodes2coords(), IDNLMaterial::NonlocalMaterialStiffnessInterface_addIPContribution(), Subdivision::RS_Tetra::numberSharedEdges(), Subdivision::RS_Triangle::numberSharedEdges(), Subdivision::RS_Node::numberSharedEdges(), FETISolver::packDirectionVector(), StructuralEngngModel::packInternalForces(), StructuralEngngModel::packLoad(), PNlDEIDynamic::packMasses(), FETISolver::packPPVector(), FETISolver::packQQProducts(), FETISolver::packRBM(), StructuralEngngModel::packReactions(), StructuralEngngModel::packRemoteElementData(), FETISolver::packResiduals(), ZZNodalRecoveryModel::packSharedDofManData(), SPRNodalRecoveryModel::packSharedDofManData(), NodalAveragingRecoveryModel::packSharedDofManData(), DirectErrorIndicatorRC::packSharedDofManLocalDensities(), DirectErrorIndicatorRC::packSharedDofManLocalIndicatorVals(), FETISolver::packSolution(), DynCompCol::printStatistics(), NonlocalMaterialExtensionInterface::rebuildNonlocalPointTable(), SPRNodalRecoveryModel::recoverValues(), DofManager::resolveDofIDArray(), Element::saveContext(), SkylineUnsym::setInternalStructure(), Skyline::setInternalStructure(), FETISolver::setUpCommunicationMaps(), FETICommunicator::setUpCommunicationMaps(), ProblemCommunicator::setUpCommunicationMapsForElementCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForElementCut(), ProblemCommunicator::setUpCommunicationMapsForNodeCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForNodeCut(), ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), PNlDEIDynamicComunicator::setUpCommunicationMapsForRemoteElementMode(), HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), HuertaErrorEstimator::setupRefinedProblemProlog(), ErrorEstimator::skipRegion(), Subdivision::smoothMesh(), FreemInterface::smoothNodalDensities(), LineSearchNM::solve(), FastMarchingMethod::solve(), CylindricalALM::solve(), HuertaErrorEstimator::solveRefinedPatchProblem(), NlDEIDynamic::solveYourselfAt(), DEIDynamic::solveYourselfAt(), sort(), ProblemCommunicator::sortCommMap(), PNlDEIDynamicComunicator::sortCommMap(), FETISolver::unpackDirectionVector(), StructuralEngngModel::unpackInternalForces(), Subdivision::unpackIrregularSharedGlobnums(), StructuralEngngModel::unpackLoad(), PNlDEIDynamic::unpackMasses(), FETISolver::unpackPPVector(), StructuralEngngModel::unpackReactions(), StructuralEngngModel::unpackRemoteElementData(), FETISolver::unpackResiduals(), ZZNodalRecoveryModel::unpackSharedDofManData(), SPRNodalRecoveryModel::unpackSharedDofManData(), NodalAveragingRecoveryModel::unpackSharedDofManData(), DirectErrorIndicatorRC::unpackSharedDofManLocalDensities(), DirectErrorIndicatorRC::unpackSharedDofManLocalIndicatorVals(), Subdivision::unpackSharedEdges(), Subdivision::unpackSharedIrregulars(), FETISolver::unpackSolution(), Subdivision::RS_Tetra::update_neighbours(), Subdivision::RS_Triangle::update_neighbours(), LevelSetPCS::updatePosition(), FastMarchingMethod::updateTrialValue(), and XfemElementInterface::XfemElementInterface_prepareNodesForDelaunay().
| int IntArray::isEmpty | ( | ) | const [inline] |
Checks if receiver is empty (i.e., zero sized).
Definition at line 192 of file intarray.h.
References size.
Referenced by StructuralElement::computeConsistentMassMatrix(), EIPrimaryUnknownMapper::evaluateAt(), SloanLevelStructure::formYourself(), NonlocalMaterialExtensionInterface::giveInputRecordString(), FMElement::initializeFrom(), ProcessCommunicator::initReceive(), ProcessCommunicator::initSend(), Subdivision::RS_Element::isTerminal(), ProcessCommunicator::packData(), ProcessCommunicator::receiveCompleted(), ProcessCommunicator::sendCompleted(), ProcessCommunicator::unpackData(), and SloanGraph::writeOptimalRenumberingTable().
| int IntArray::containsOnlyZeroes | ( | ) | const |
Returns true if receiver contains only zeroes.
Definition at line 342 of file intarray.C.
Referenced by EngngModel::assemblePrescribedVectorFromElements(), Subdivision::RS_Tetra::generate(), Subdivision::RS_Triangle::generate(), and Subdivision::RS_Element::hasIrregulars().
| int IntArray::findSorted | ( | int | value | ) | const |
finds the first occurence of given value, assuming that the receiver is sorted.
Returns its index in (1-based) indexing, if not present, 0 is returned.
Definition at line 488 of file intarray.C.
Referenced by containsSorted(), eraseSorted(), and insertSortedOnce().
| bool IntArray::containsSorted | ( | int | value | ) | const [inline] |
returns true if receiver contains given value
Definition at line 203 of file intarray.h.
References findSorted().
| int 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.
| value | value to insert | |
| allocChunk | if reallocation needed, an aditional space for allocChunk values will be allocated |
Definition at line 510 of file intarray.C.
References allocatedSize, allocInt(), freeInt(), size, and values.
Referenced by Subdivision::RS_Node::importConnectivity(), Subdivision::RS_Node::insertConnectedElement(), and insertSortedOnce().
| int 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.
| value | value to insert | |
| allocChunk | if reallocation needed, an aditional space for allocChunk values will be allocated |
Definition at line 557 of file intarray.C.
References findSorted(), and insertSorted().
Referenced by DofManager::giveMasterDofMans().
| void IntArray::eraseSorted | ( | int | value | ) |
Erase the element of given value.
If the value is found on position _pos receiver will shrink accordingly, the values at positions (_pos+1,...,size) will be moved to positions (_pos,...,size-1)
Definition at line 568 of file intarray.C.
References erase(), and findSorted().
Referenced by Subdivision::RS_Node::eraseConnectedElement().
| int 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.
| iarray | array to search for values common with receiver | |
| common | array of common values | |
| allocChunk | if reallocation needed, an aditional space for allocChunk values will be allocated |
Definition at line 579 of file intarray.C.
References at(), followedBy(), giveSize(), size, and values.
Referenced by Subdivision::RS_Tetra::bisect(), Subdivision::exchangeSharedEdges(), Subdivision::RS_Tetra::numberSharedEdges(), Subdivision::unpackIrregularSharedGlobnums(), Subdivision::unpackSharedEdges(), and Subdivision::unpackSharedIrregulars().
| int IntArray::findFirstIndexOf | ( | int | value | ) | const |
Finds index of first occurence of given value in array.
If such value is not presented, returns zero value.
| value | scanned value |
Definition at line 440 of file intarray.C.
Referenced by MMAShapeFunctProjection::__mapVariable(), contains(), Subdivision::RS_Element::containsNode(), LoadBalancer::deleteRemoteDofManagers(), TransportElement::EIPrimaryFieldI_evaluateFieldVectorAt(), TR1_2D_SUPG2::EIPrimaryFieldI_evaluateFieldVectorAt(), TR1_2D_SUPG::EIPrimaryFieldI_evaluateFieldVectorAt(), TR1_2D_CBS::EIPrimaryFieldI_evaluateFieldVectorAt(), Subdivision::RS_Tetra::generate(), Subdivision::RS_Triangle::generate(), OctreeSpatialLocalizer::giveElementCloseToPoint(), DummySpatialLocalizer::giveElementCloseToPoint(), OctreeSpatialLocalizer::giveElementCloseToPointWithinOctant(), OctreeSpatialLocalizer::giveElementContainingPoint(), DummySpatialLocalizer::giveElementContainingPoint(), SUPGElement2::giveIntVarCompFullIndx(), SUPGElement::giveIntVarCompFullIndx(), CBSElement::giveIntVarCompFullIndx(), PetscNatural2LocalOrdering::giveOldEq(), DofManager::givePartitionsConnectivitySize(), SPRNodalRecoveryModel::initPatch(), insertOnce(), EIPrimaryUnknownMapper::mapAndUpdate(), MMAShapeFunctProjection::mapVariable(), LoadBalancer::packMigratingData(), DofManager::removePartitionFromList(), Subdivision::RS_Tetra::RS_Tetra(), Subdivision::RS_Triangle::RS_Triangle(), ProblemCommunicator::setUpCommunicationMapsForElementCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForElementCut(), ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), PNlDEIDynamicComunicator::setUpCommunicationMapsForRemoteElementMode(), Subdivision::smoothMesh(), ExportModule::testDomainOutput(), and Subdivision::RS_Tetra::update_neighbours().
| bool IntArray::contains | ( | int | value | ) | const [inline] |
returns true if receiver contains given value
Definition at line 246 of file intarray.h.
References findFirstIndexOf().
Referenced by VTKXMLExportModule::doOutput(), VTKExportModule::doOutput(), VTKExportModule::exportIntVarAs(), VTKExportModule::exportPrimVarAs(), Subdivision::RS_SharedEdge::giveSharedPartitions(), VTKExportModule::giveTotalRBRNumberOfNodes(), Subdivision::RS_Tetra::numberSharedEdges(), Subdivision::RS_Triangle::numberSharedEdges(), Subdivision::packIrregularSharedGlobnums(), Subdivision::packRemoteElements(), NonlocalMaterialWTP::packRemoteElements(), Subdivision::packSharedEdges(), and Subdivision::packSharedIrregulars().
| int IntArray::insertOnce | ( | int | _p | ) |
Insert once (does not make any assumption about receiver state or ordering, quite inefficient).
More efficient version InsertSortedOnce exist. Insert _p value into receiver if it does not exist.
Definition at line 603 of file intarray.C.
References findFirstIndexOf(), followedBy(), and size.
Referenced by DofManager::mergePartitionList().
| void 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)
Definition at line 324 of file intarray.C.
References checkBounds(), size, and values.
Referenced by eraseSorted(), and DofManager::removePartitionFromList().
| void IntArray::addSubVector | ( | const IntArray & | src, | |
| int | si | |||
| ) |
add given subvector to receiver values starting at position si
Definition at line 456 of file intarray.C.
References at(), giveSize(), and resize().
| void IntArray::copySubVector | ( | const IntArray & | src, | |
| int | si | |||
| ) |
copy given subvector to receiver values starting at position si
Definition at line 472 of file intarray.C.
References at(), giveSize(), and resize().
Referenced by SlaveDof::giveEquationNumbers(), and SlaveDof::giveMasterDofManArray().
| void IntArray::printYourself | ( | ) | const |
Prints receiver on stdin.
Definition at line 353 of file intarray.C.
Referenced by MPlasticMaterial2::closestPointReturn(), Node::printYourself(), LayeredCrossSection::printYourself(), FiberedCrossSection::printYourself(), ElementSide::printYourself(), and DofManager::printYourself().
| contextIOResultType IntArray::storeYourself | ( | DataStream * | stream, | |
| ContextMode | mode | |||
| ) | const |
Stores array to output stream.
Definition at line 370 of file intarray.C.
References CIO_IOERR, CIO_OK, IntArrayClass, size, and values.
Referenced by SlaveDof::saveContext(), RCM2MaterialStatus::saveContext(), MPlasticMaterial2Status::saveContext(), MPlasticMaterialStatus::saveContext(), EngngModel::saveContext(), Element::saveContext(), and DofManager::saveContext().
| contextIOResultType IntArray::restoreYourself | ( | DataStream * | stream, | |
| ContextMode | mode | |||
| ) |
Restores array from image on stream.
Definition at line 396 of file intarray.C.
References allocatedSize, allocInt(), CIO_BADVERSION, CIO_IOERR, CIO_OK, freeInt(), IntArrayClass, DataStream::read(), size, and values.
Referenced by SlaveDof::restoreContext(), RCM2MaterialStatus::restoreContext(), MPlasticMaterial2Status::restoreContext(), MPlasticMaterialStatus::restoreContext(), EngngModel::restoreContext(), Element::restoreContext(), and DofManager::restoreContext().
| void IntArray::zero | ( | ) |
Sets all component to zero.
Definition at line 120 of file intarray.C.
Referenced by RCM2Material::checkForNewActiveCracks(), MPlasticMaterial2::closestPointReturn(), MPlasticMaterial::closestPointReturn(), XfemManager::computeNodeEnrichmentType(), MPlasticMaterial2::cuttingPlaneReturn(), MPlasticMaterial::cuttingPlaneReturn(), HuertaErrorEstimator::estimateError(), MPlasticMaterial2::getNewPopulation(), MDM::giveIntVarCompFullIndx(), FiberedCrossSection::giveIntVarCompFullIndx(), DruckerPragerPlasticitySM::giveIntVarCompFullIndx(), LayeredCrossSection::giveStressStrainMask(), FiberedCrossSection::giveStressStrainMask(), Subdivision::RS_Tetra::importConnectivity(), Subdivision::RS_Triangle::importConnectivity(), PetscNatural2GlobalOrdering::init(), NonlocalMaterialExtensionInterface::initializeFrom(), Load::initializeFrom(), ZZNodalRecoveryModel::initRegionMap(), SPRNodalRecoveryModel::initRegionMap(), NodalAveragingRecoveryModel::initRegionMap(), VTKXMLExportModule::initRegionNodeNumbering(), VTKExportModule::initRegionNodeNumbering(), NodalRecoveryModel::initRegionNodeNumbering(), ConnectivityTable::instanciateConnectivityTable(), Subdivision::RS_Tetra::makeSharedEdges(), Subdivision::RS_Triangle::makeSharedEdges(), SPRNodalRecoveryModel::recoverValues(), NodalAveragingRecoveryModel::recoverValues(), Subdivision::RS_Tetra::RS_Tetra(), Subdivision::RS_Triangle::RS_Triangle(), SkylineUnsym::setInternalStructure(), Subdivision::smoothMesh(), FETISolver::solve(), HuertaErrorEstimator::solveRefinedElementProblem(), and HuertaErrorEstimator::solveRefinedPatchProblem().
| int* IntArray::givePointer | ( | ) | const [inline] |
Definition at line 276 of file intarray.h.
References values.
Referenced by NRSolver::applyConstraintsToStiffness(), PetscSparseMtrx::assemble(), PetscSparseMtrx::buildInternalStructure(), EngngModel::petsc_assemblePrescribedVectorFromDofManagers(), EngngModel::petsc_assemblePrescribedVectorFromElements(), EngngModel::petsc_assembleVectorFromDofManagers(), EngngModel::petsc_assembleVectorFromElements(), ZZNodalRecoveryModel::recoverValues(), SPRNodalRecoveryModel::recoverValues(), and NodalAveragingRecoveryModel::recoverValues().
| void IntArray::add | ( | int | val | ) |
adds given value to all values of receiver
Definition at line 132 of file intarray.C.
Referenced by EngngModel::petsc_assemblePrescribedVectorFromDofManagers(), EngngModel::petsc_assemblePrescribedVectorFromElements(), EngngModel::petsc_assembleVectorFromDofManagers(), and EngngModel::petsc_assembleVectorFromElements().
| int IntArray::packToCommBuffer | ( | CommunicationBuffer & | buff | ) | const |
Packs receiver into communication buffer.
| buff | buffer to pack itself into. |
Definition at line 614 of file intarray.C.
References CommunicationBuffer::packArray(), CommunicationBuffer::packInt(), size, and values.
Referenced by ProcessCommunicatorBuff::packIntArray(), and CommunicationBuffer::packIntArray().
| int IntArray::unpackFromCommBuffer | ( | CommunicationBuffer & | buff | ) |
Unpacks receiver from communication buffer.
| buff | buffer from which unpack itself. |
Definition at line 626 of file intarray.C.
References resize(), CommunicationBuffer::unpackArray(), CommunicationBuffer::unpackInt(), and values.
Referenced by ProcessCommunicatorBuff::unpackIntArray(), and CommunicationBuffer::unpackIntArray().
| int IntArray::givePackSize | ( | CommunicationBuffer & | buff | ) |
Returns how much space is needed to pack receivers message.
| buff | buffer used for packing |
Definition at line 639 of file intarray.C.
References CommunicationBuffer::givePackSize(), and size.
Referenced by ProblemCommunicator::setUpCommunicationMapsForElementCut(), PNlDEIDynamicComunicator::setUpCommunicationMapsForElementCut(), ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), and PNlDEIDynamicComunicator::setUpCommunicationMapsForRemoteElementMode().
int IntArray::size [private] |
size of array
Definition at line 95 of file intarray.h.
Referenced by add(), PetscSparseMtrx::buildInternalStructure(), containsOnlyZeroes(), erase(), findCommonValuesSorted(), findFirstIndexOf(), findSorted(), followedBy(), givePackSize(), giveSize(), insertOnce(), insertSorted(), IntArray(), isEmpty(), operator()(), operator=(), packToCommBuffer(), preallocate(), printYourself(), resize(), restoreYourself(), storeYourself(), and zero().
int IntArray::allocatedSize [private] |
allocated size for array
Definition at line 97 of file intarray.h.
Referenced by followedBy(), insertSorted(), IntArray(), operator=(), preallocate(), resize(), and restoreYourself().
int* IntArray::values [private] |
stored values
Definition at line 99 of file intarray.h.
Referenced by add(), at(), containsOnlyZeroes(), erase(), findCommonValuesSorted(), findFirstIndexOf(), findSorted(), followedBy(), givePointer(), insertSorted(), IntArray(), operator()(), operator=(), packToCommBuffer(), preallocate(), resize(), restoreYourself(), storeYourself(), unpackFromCommBuffer(), zero(), and ~IntArray().
1.5.5 written by Dimitri van Heesch,
© 1997-2001