//! @brief Section stiffness contribution response identifiers. const XC::ResponseId &XC::SectionAggregator::getType(void) const { int theSectionOrder= 0; if(theSection) { const XC::ResponseId &secType= theSection->getType(); theSectionOrder= theSection->getOrder(); for(register int i= 0; i < theSectionOrder; i++) (*theCode)(i)= secType(i); } theAdditions.getType(*theCode,theSectionOrder); return *theCode; }
const ID& SectionAggregator::getType () { int i = 0; int theSectionOrder = 0; if (theSection) { const ID &secType = theSection->getType(); theSectionOrder = theSection->getOrder(); for (i = 0; i < theSectionOrder; i++) (*theCode)(i) = secType(i); } int order = theSectionOrder + numMats; for ( ; i < order; i++) (*theCode)(i) = (*matCodes)(i-theSectionOrder); return *theCode; }