Beispiel #1
0
void
Material :: initTempStatus(GaussPoint *gp)
//
// Initialize MatStatus (respective it's temporary variables at the begining
// of integrating incremental constitutive relations) to correct values
//
{
    MaterialStatus *status = this->giveStatus(gp);
    if ( status ) {
        status->initTempStatus();
    }
}
Beispiel #2
0
void
MicroplaneMaterial :: initTempStatus(GaussPoint *gp)
{
    // init master
    this->giveStatus(gp)->initTempStatus();

    // init master microplanes
    for ( int mPlaneIndex = 0; mPlaneIndex < numberOfMicroplanes; mPlaneIndex++ ) {
        Microplane *mPlane = this->giveMicroplane(mPlaneIndex, gp);
        MaterialStatus *status = dynamic_cast< MaterialStatus * >( this->giveMicroplaneStatus(mPlane) );
        if ( status ) {
            status->initTempStatus();
        }
    }
}