|
OOFEM
2.1
|
Class implementing an array of integers. More...
#include <intarray.h>
Public Member Functions | |
| IntArray (int=0) | |
| Constructor for zero sized array. | |
| IntArray (const IntArray &) | |
| Copy constructor. Creates the array from another array. | |
| ~IntArray () | |
| Destructor. | |
| IntArray & | operator= (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. | |
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.
| 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.
| oofem::IntArray::IntArray | ( | const IntArray & | src | ) |
Copy constructor. Creates the array from another array.
Definition at line 66 of file intarray.C.
References allocatedSize, oofem::allocInt(), size, and values.
| void oofem::IntArray::add | ( | int | val | ) |
Adds given scalar to all values of receiver.
| val | Value to add. |
Definition at line 132 of file intarray.C.
| void oofem::IntArray::addSubVector | ( | const IntArray & | src, |
| int | si | ||
| ) |
Add given array to receiver values starting at position si.
| src | Array to add from. |
| si | Index 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.
| i | Position of coefficient in array. |
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.
| i | position of coefficient in array. |
Definition at line 111 of file intarray.h.
References values.
| bool oofem::IntArray::contains | ( | int | value | ) | const [inline] |
Definition at line 251 of file intarray.h.
References findFirstIndexOf().
Referenced by oofem::MacroLSpace::changeMicroBoundaryConditions(), oofem::CompoDamageMat::checkSnapBack(), oofem::HOMExportModule::doOutput(), oofem::VTKExportModule::doOutput(), oofem::VTKXMLExportModule::doOutput(), oofem::VTKExportModule::exportIntVarAs(), oofem::VTKExportModule::exportPrimVarAs(), oofem::Subdivision::RS_SharedEdge::giveSharedPartitions(), oofem::VTKExportModule::giveTotalRBRNumberOfNodes(), oofem::Subdivision::RS_Triangle::numberSharedEdges(), oofem::Subdivision::RS_Tetra::numberSharedEdges(), oofem::Subdivision::packIrregularSharedGlobnums(), oofem::NonlocalMaterialWTP::packRemoteElements(), oofem::Subdivision::packRemoteElements(), oofem::Subdivision::packSharedEdges(), oofem::Subdivision::packSharedIrregulars(), and oofem::MicroMaterial::setMacroProperties().
| bool oofem::IntArray::containsOnlyZeroes | ( | ) | const |
Checks if receiver is all zero.
Definition at line 353 of file intarray.C.
Referenced by oofem::Subdivision::RS_Element::hasIrregulars().
| bool oofem::IntArray::containsSorted | ( | int | value | ) | const [inline] |
Checks if sorted receiver contains a given value.
Definition at line 205 of file intarray.h.
References findSorted().
| void oofem::IntArray::copySubVector | ( | const IntArray & | src, |
| int | si | ||
| ) |
Copy given array to receiver values starting at position si.
| src | Array to copy from. |
| si | Index to start copying from. |
Definition at line 501 of file intarray.C.
References at(), giveSize(), and resize().
Referenced by oofem::DofManager::giveCompleteLocationArray(), oofem::DofManager::giveCompleteMasterDofIDArray(), oofem::SlaveDof::giveDofIDs(), oofem::ActiveDof::giveEquationNumbers(), oofem::SlaveDof::giveEquationNumbers(), oofem::DofManager::giveLocationArray(), oofem::DofManager::giveMasterDofIDArray(), oofem::ActiveDof::giveMasterDofManArray(), and oofem::SlaveDof::giveMasterDofManArray().
| 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)
| pos | Position to erase. |
Definition at line 336 of file intarray.C.
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.
| value | Value 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.
| iarray | Array to search for values common with receiver. |
| common | Array of common values. |
| allocChunk | If reallocation needed, an additional space for allocChunk values will be allocated. |
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.
| value | Scanned value. |
Definition at line 469 of file intarray.C.
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.
Definition at line 529 of file intarray.C.
Referenced by containsSorted(), eraseSorted(), and insertSortedOnce().
| void oofem::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 additional space for allocChunk values will be allocated to prevent excessive reallocation. |
Definition at line 246 of file intarray.C.
References allocatedSize, oofem::allocInt(), oofem::freeInt(), size, and values.
Referenced by oofem::MMALeastSquareProjection::__init(), oofem::FETIBoundaryDofManager::addPartition(), oofem::Subdivision::RS_SharedEdge::addPartition(), oofem::WeakPeriodicbc::assemble(), oofem::WeakPeriodicbc::assembleVector(), oofem::HangingNode::checkConsistency(), oofem::XfemManager::computeFictPosition(), findCommonValuesSorted(), oofem::SloanLevelStructure::formYourself(), oofem::VTKXMLExportModule::getPrimaryVariable(), oofem::Element::giveBoundaryLocationArray(), oofem::PlaneStress2dXfem::giveDofManDofIDMask(), oofem::LumpedMassElement::giveDofManDofIDMask(), oofem::StructuralElementEvaluator::giveIntegrationElementLocalCodeNumbers(), oofem::TSplineInterpolation::giveKnotSpanBasisFuncMask(), oofem::PlaneStress2dXfem::giveLocationArray(), oofem::StructuralElement::giveNonlocalLocationArray(), oofem::Subdivision::RS_SharedEdge::giveSharedPartitions(), insertOnce(), oofem::Subdivision::RS_Triangle::numberSharedEdges(), oofem::Subdivision::RS_Tetra::numberSharedEdges(), and oofem::MicroMaterial::setMacroProperties().
| void oofem::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 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.
| int oofem::IntArray::givePackSize | ( | CommunicationBuffer & | buff | ) |
Returns how much space is needed to pack receivers message.
| buff | Buffer 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] |
Breaks encapsulation.
Avoid using this unless absolutely necessary.
Definition at line 300 of file intarray.h.
References values.
Referenced by oofem::NRSolver::applyConstraintsToStiffness(), oofem::PetscSparseMtrx::assemble(), oofem::FloatMatrix::beInverseOf(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::FloatMatrix::computeReciprocalCondition(), oofem::ParmetisLoadBalancer::initGlobalParmetisElementNumbering(), oofem::TriangleMesherInterface::meshPSLG(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::SPRNodalRecoveryModel::recoverValues(), and oofem::FloatMatrix::solveForRhs().
| int oofem::IntArray::giveSize | ( | ) | const [inline] |
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().
| int oofem::IntArray::insertOnce | ( | int | p | ) |
Insert once (does not make any assumption about receiver state or ordering, quite inefficient).
More efficient version insertSortedOnce exist.
| p | Value to insert. |
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.
| value | value to insert. |
| allocChunk | If reallocation needed, an additional space for allocChunk values will be allocated. |
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.
| value | Value to insert. |
| allocChunk | If reallocation needed, an additional space for allocChunk values will be allocated. |
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] |
Checks if receiver is empty (i.e., zero sized).
Definition at line 180 of file intarray.h.
References size.
Referenced by oofem::StructuralElementEvaluator::computeConsistentMassMatrix(), oofem::StructuralElement::computeConsistentMassMatrix(), oofem::Node::computeL2GTransformation(), oofem::DofManager::computeM2LTransformation(), oofem::Node::drawYourself(), oofem::EIPrimaryUnknownMapper::evaluateAt(), oofem::SloanLevelStructure::formYourself(), oofem::NonlocalMaterialExtensionInterface::giveInputRecordString(), oofem::CBSElement::initializeFrom(), oofem::ProcessCommunicator::initReceive(), oofem::ProcessCommunicator::initSend(), oofem::Subdivision::RS_Element::isTerminal(), oofem::ProcessCommunicator::packData(), oofem::ProcessCommunicator::receiveCompleted(), oofem::ProcessCommunicator::sendCompleted(), oofem::ProcessCommunicator::unpackData(), and oofem::SloanGraph::writeOptimalRenumberingTable().
| int oofem::IntArray::maximum | ( | ) | const |
Finds the maximum component in the array.
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.
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.
| i | Position of coefficient in array. |
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.
| i | position of coefficient in array. |
Definition at line 133 of file intarray.h.
References values.
Assignment operator.
Definition at line 94 of file intarray.C.
References allocatedSize, oofem::allocInt(), oofem::freeInt(), size, and values.
| int oofem::IntArray::packToCommBuffer | ( | CommunicationBuffer & | buff | ) | const |
Packs receiver into communication buffer.
| buff | Buffer to pack itself into. |
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 | ) |
Preallocates receiver to given futureSize if larger then allocatedSize.
| futureSize | Size to be allocated. |
Definition at line 220 of file intarray.C.
References allocatedSize, oofem::allocInt(), oofem::freeInt(), size, and values.
Referenced by oofem::Subdivision::RS_Tetra::bisect(), oofem::Subdivision::RS_Node::buildTopLevelNodeConnectivity(), oofem::Subdivision::exchangeSharedEdges(), oofem::TSplineInterpolation::giveKnotSpanBasisFuncMask(), oofem::Subdivision::RS_Tetra::numberSharedEdges(), oofem::Subdivision::RS_Node::preallocateConnectedElements(), oofem::Subdivision::unpackIrregularSharedGlobnums(), oofem::Subdivision::unpackSharedEdges(), and oofem::Subdivision::unpackSharedIrregulars().
| void oofem::IntArray::printYourself | ( | ) | const |
Prints receiver on stdout.
Definition at line 399 of file intarray.C.
Referenced by oofem::MPlasticMaterial2::closestPointReturn(), oofem::ElementDofManager::printYourself(), oofem::ElementSide::printYourself(), oofem::FiberedCrossSection::printYourself(), oofem::LayeredCrossSection::printYourself(), oofem::Node::printYourself(), and oofem::DofManager::printYourself().
| void oofem::IntArray::resize | ( | int | n, |
| int | allocChunk = 0 |
||
| ) |
Checks size of receiver towards requested bounds.
If dimension mismatch, size is adjusted accordingly.
| n | New size of array. |
| allocChunk | If 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().
| contextIOResultType oofem::IntArray::restoreYourself | ( | DataStream * | stream, |
| ContextMode | mode | ||
| ) |
Restores array from image on stream.
Definition at line 436 of file intarray.C.
References allocatedSize, oofem::allocInt(), oofem::CIO_IOERR, oofem::CIO_OK, oofem::freeInt(), oofem::DataStream::read(), size, and values.
Referenced by oofem::MPlasticMaterialStatus::restoreContext(), oofem::MPlasticMaterial2Status::restoreContext(), oofem::SlaveDof::restoreContext(), oofem::XfemManager::restoreContext(), oofem::RCM2MaterialStatus::restoreContext(), oofem::DofManager::restoreContext(), oofem::EngngModel::restoreContext(), and oofem::Element::restoreContext().
| void oofem::IntArray::setValues | ( | int | n, |
| ... | |||
| ) |
Sets the array to be a sequence of values.
| n | Number 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().
| contextIOResultType oofem::IntArray::storeYourself | ( | DataStream * | stream, |
| ContextMode | mode | ||
| ) | const |
Stores array to output stream.
Definition at line 416 of file intarray.C.
References oofem::CIO_IOERR, and oofem::CIO_OK.
Referenced by oofem::MPlasticMaterialStatus::saveContext(), oofem::MPlasticMaterial2Status::saveContext(), oofem::XfemManager::saveContext(), oofem::SlaveDof::saveContext(), oofem::RCM2MaterialStatus::saveContext(), oofem::DofManager::saveContext(), oofem::EngngModel::saveContext(), and oofem::Element::saveContext().
| int oofem::IntArray::unpackFromCommBuffer | ( | CommunicationBuffer & | buff | ) |
Unpacks receiver from communication buffer.
| buff | Buffer from which unpack itself. |
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().
| void oofem::IntArray::zero | ( | ) |
Sets all component to zero.
Definition at line 121 of file intarray.C.
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().
int oofem::IntArray::allocatedSize [private] |
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] |
Size of array.
Definition at line 74 of file intarray.h.
Referenced by add(), oofem::PetscSparseMtrx::buildInternalStructure(), containsOnlyZeroes(), erase(), findCommonValuesSorted(), findFirstIndexOf(), findSorted(), followedBy(), givePackSize(), giveSize(), insertOnce(), insertSorted(), IntArray(), isEmpty(), maximum(), minimum(), operator=(), packToCommBuffer(), preallocate(), printYourself(), resize(), restoreYourself(), and zero().
int* oofem::IntArray::values [private] |
Stored values.
Definition at line 78 of file intarray.h.
Referenced by add(), at(), containsOnlyZeroes(), erase(), findCommonValuesSorted(), findFirstIndexOf(), findSorted(), followedBy(), givePointer(), insertSorted(), IntArray(), maximum(), minimum(), operator()(), operator=(), packToCommBuffer(), preallocate(), resize(), restoreYourself(), setValues(), unpackFromCommBuffer(), zero(), and ~IntArray().