fixed: avoid unnecessary expensive refinement parameter calculations
if we are shared, these are complete ignored further down. no reason to calculate them. useful for adaptive multi-patch fracture dynamics
This commit is contained in:
parent
f6c847cf75
commit
bdf5e31c3e
@ -1430,7 +1430,7 @@ bool SIMinput::refine (const LR::RefineData& prm, Vectors& sol)
|
||||
std::vector<LR::RefineData> prmloc(myModel.size(),LR::RefineData(prm));
|
||||
std::vector<IntSet> refineIndices(myModel.size());
|
||||
std::vector<IntSet> conformingIndices(myModel.size());
|
||||
bool changed = true;
|
||||
bool changed = !this->getPatch(1)->isShared();
|
||||
while (changed) {
|
||||
changed = false;
|
||||
for (size_t i = 0; i < myModel.size(); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user