-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from dengwirda/dev
Update to jigsaw-0.9.15.x
- Loading branch information
Showing
29 changed files
with
496 additions
and
595 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,9 @@ | |
* JIGSAW: an unstructured mesh generation library. | ||
-------------------------------------------------------- | ||
* | ||
* Last updated: 16 July, 2020 | ||
* Last updated: 16 Apr., 2021 | ||
* | ||
* Copyright 2013 -- 2020 | ||
* Copyright 2013 -- 2021 | ||
* Darren Engwirda | ||
* [email protected] | ||
* https://github.com/dengwirda | ||
|
@@ -1059,15 +1059,13 @@ | |
|
||
# ifdef __use_timers | ||
typename std ::chrono:: | ||
high_resolution_clock:: | ||
time_point _ttic ; | ||
high_resolution_clock::time_point _ttic ; | ||
typename std ::chrono:: | ||
high_resolution_clock:: | ||
time_point _ttoc ; | ||
high_resolution_clock::time_point _ttoc ; | ||
typename std ::chrono:: | ||
high_resolution_clock _time; | ||
high_resolution_clock _time ; | ||
|
||
__unreferenced(_time) ; | ||
__unreferenced(_time) ; // why does MSVC need this?? | ||
# endif//__use_timers | ||
|
||
/*--------------------------------- init. geo. kernel */ | ||
|
@@ -1495,15 +1493,13 @@ | |
|
||
# ifdef __use_timers | ||
typename std ::chrono:: | ||
high_resolution_clock:: | ||
time_point _ttic ; | ||
high_resolution_clock::time_point _ttic ; | ||
typename std ::chrono:: | ||
high_resolution_clock:: | ||
time_point _ttoc ; | ||
high_resolution_clock::time_point _ttoc ; | ||
typename std ::chrono:: | ||
high_resolution_clock _time; | ||
high_resolution_clock _time ; | ||
|
||
__unreferenced(_time) ; | ||
__unreferenced(_time) ; // why does MSVC need this?? | ||
# endif//__use_timers | ||
|
||
/*--------------------------------- init. geo. kernel */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,9 +31,9 @@ | |
* | ||
-------------------------------------------------------- | ||
* | ||
* Last updated: 27 Dec., 2020 | ||
* Last updated: 16 Apr., 2021 | ||
* | ||
* Copyright 2013-2020 | ||
* Copyright 2013-2021 | ||
* Darren Engwirda | ||
* [email protected] | ||
* https://github.com/dengwirda/ | ||
|
@@ -73,7 +73,7 @@ | |
real_type _lmax | ||
= (real_type) +8.00E-01 , | ||
real_type _qinc | ||
= (real_type) +1.00E-03 | ||
= (real_type) +1.00E-02 | ||
) | ||
{ | ||
iptr_type static constexpr | ||
|
@@ -160,12 +160,18 @@ | |
// zip, make it easier to do so! | ||
|
||
real_type _qerr = | ||
(real_type)-1./8. * | ||
(real_type)-2./16. * | ||
std::max(_ierr, _jerr); | ||
|
||
real_type _lerr = | ||
(real_type)+1./16. * | ||
std::max(_ierr, _jerr); | ||
|
||
if (2 * _nerr < _iabs + _jabs) | ||
{ | ||
_qinc = std::min(_qinc, _qerr); | ||
_lmax = std::max(_lmax, | ||
_lmax+ _lerr); | ||
} | ||
|
||
/*--------------------------------- get edge h-sizing */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.