| 296 | } |
| 297 | |
| 298 | bool |
| 299 | LoadPattern::addElementalLoad(ElementalLoad *load) |
| 300 | { |
| 301 | Domain *theDomain = this->getDomain(); |
| 302 | |
| 303 | bool result = theElementalLoads->addComponent(load); |
| 304 | if (result == true) { |
| 305 | if (theDomain != 0) |
| 306 | load->setDomain(theDomain); |
| 307 | load->setLoadPatternTag(this->getTag()); |
| 308 | currentGeoTag++; |
| 309 | } else |
| 310 | opserr << "WARNING: LoadPattern::addElementalLoad() - load could not be added\n"; |
| 311 | |
| 312 | return result; |
| 313 | } |
| 314 | |
| 315 | bool |
| 316 | LoadPattern::addSP_Constraint(SP_Constraint *theSp) |
no test coverage detected