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

break solver

parent e0158a33
Branches
Tags
No related merge requests found
......@@ -239,9 +239,15 @@ void dG3DMultiscaleIPVariable::setReceivedMicroDataToMacroProblem(const double*
void MultiscaleFractureCohesive3DIPVariable::broken(){
FractureCohesive3DIPVariable::broken();
if (this->getSolver()!=NULL){
this->getSolver()->getHomogenizationState(IPStateBase::current)->getBrokenFlag() = true;
}
};
void MultiscaleFractureCohesive3DIPVariable::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