|
31 | 31 | * |
32 | 32 | -------------------------------------------------------- |
33 | 33 | * |
34 | | - * Last updated: 30 April, 2020 |
| 34 | + * Last updated: 12 Sept., 2020 |
35 | 35 | * |
36 | 36 | * Copyright 2013-2020 |
37 | 37 | * Darren Engwirda |
|
79 | 79 | iptr_type static constexpr |
80 | 80 | _last = pred_type::geom_dims+0 ; |
81 | 81 |
|
82 | | - iptr_type static constexpr |
83 | | - _DEG_TRIA3 = (iptr_type)+6 ; |
| 82 | + // iptr_type static constexpr |
| 83 | + // _DEG_TRIA3 = (iptr_type)+6 ; |
84 | 84 | // iptr_type static constexpr |
85 | 85 | // _DEG_QUAD4 = (iptr_type)+4 ; |
86 | 86 |
|
|
152 | 152 | POINT_tag, _jset) ; |
153 | 153 |
|
154 | 154 | /*--------------------------------- calc. local topo. */ |
155 | | - auto _ideg = _iset.count() ; |
156 | | - auto _ierr = |
157 | | - (iptr_type)(_ideg-_DEG_TRIA3) ; |
158 | | - |
159 | | - auto _jdeg = _jset.count() ; |
160 | | - auto _jerr = |
161 | | - (iptr_type)(_jdeg-_DEG_TRIA3) ; |
162 | | - |
163 | | - // bail-out early if the topological defect would be |
164 | | - // made worse if the zip is done |
165 | | - |
166 | | - if (+1 >std::max(_ierr, _jerr)) |
167 | | - return ; |
168 | | - |
169 | | - if (+0 >std::min(_ierr, _jerr)) |
170 | | - return ; |
171 | | - |
172 | | - if (+1 > _ierr + _jerr) |
173 | | - return ; |
174 | | - |
175 | | - // if more regular topo. is constructed via the edge |
176 | | - // div, make it easier to do so! |
177 | | - |
178 | | - real_type _qerr = |
179 | | - (real_type)-1./9. * _ierr + |
180 | | - (real_type)-1./9. * _jerr ; |
181 | | - |
182 | | - real_type _lerr = |
183 | | - (real_type)+5./6. * _lmin ; |
184 | | - |
185 | | - _qerr /= std::cbrt(_iout) ; // no oscl. wrt. zip |
186 | | - |
187 | | - if (+1 < _ierr + _jerr) |
188 | | - { |
189 | | - _qinc = std::min(_qinc, _qerr); |
190 | | - _lmin = std::min(_lmin, _lerr); |
191 | | - } |
| 155 | + if (_iset.count() <= +7) return; |
| 156 | + if (_jset.count() <= +7) return; |
192 | 157 |
|
193 | 158 | } // if (_lBIG) |
194 | 159 |
|
|
0 commit comments