Skip to content
Snippets Groups Projects
Commit 00b8b5a8 authored by Van Dung NGUYEN's avatar Van Dung NGUYEN
Browse files

Merge branch 'vdg-cm3'

parents 98aaab97 0439fbd7
No related branches found
No related tags found
No related merge requests found
...@@ -239,9 +239,15 @@ void dG3DMultiscaleIPVariable::setReceivedMicroDataToMacroProblem(const double* ...@@ -239,9 +239,15 @@ void dG3DMultiscaleIPVariable::setReceivedMicroDataToMacroProblem(const double*
void MultiscaleFractureCohesive3DIPVariable::broken(){ void MultiscaleFractureCohesive3DIPVariable::broken(){
FractureCohesive3DIPVariable::broken(); FractureCohesive3DIPVariable::broken();
if (this->getSolver()!=NULL){
this->getSolver()->getHomogenizationState(IPStateBase::current)->getBrokenFlag() = true;
}
}; };
void MultiscaleFractureCohesive3DIPVariable::nobroken(){ void MultiscaleFractureCohesive3DIPVariable::nobroken(){
FractureCohesive3DIPVariable::nobroken(); FractureCohesive3DIPVariable::nobroken();
if (this->getSolver()!=NULL){
this->getSolver()->getHomogenizationState(IPStateBase::current)->getBrokenFlag() = false;
}
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment