Skip to content

Commit

Permalink
0.9.15 updates: "spars(er)" refinement, sgs optimisation, etc
Browse files Browse the repository at this point in the history
- Fix precision bug in face filtration.

- Fix "echo" wrt. ellipsoidal geometry.
  • Loading branch information
dengwirda committed Jul 12, 2021
1 parent e89c0a5 commit ffc9e56
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions src/geo_load.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*
--------------------------------------------------------
*
* Last updated: 07 Jul., 2021
* Last updated: 10 Jul., 2021
*
* Copyright 2013-2021
* Darren Engwirda
Expand Down Expand Up @@ -1323,17 +1323,17 @@

_jlog.push("\n") ;

_jlog.push(" |1-RAD.|" +
_jlog.push(" |1-RAD.| = " +
to_string_prec (
_geom._ellipsoid_mesh_3d._radA, 2));
_geom._ellipsoid_mesh_3d._radA, 2) + "\n");

_jlog.push(" |2-RAD.|" +
_jlog.push(" |2-RAD.| = " +
to_string_prec (
_geom._ellipsoid_mesh_3d._radB, 2));
_geom._ellipsoid_mesh_3d._radB, 2) + "\n");

_jlog.push(" |3-RAD.|" +
_jlog.push(" |3-RAD.| = " +
to_string_prec (
_geom._ellipsoid_mesh_3d._radC, 2));
_geom._ellipsoid_mesh_3d._radC, 2) + "\n");

_jlog.push("\n") ;

Expand Down
2 changes: 1 addition & 1 deletion src/libcpp/rdel_mesh/rdel_base_3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@
&_iter->pval( 0)) ;

/*--------------------------- keep furthest from ball */
if (_dsqr > _dmin )
if (_dsqr < _dmin )
{
_dmin = _dsqr ;
_imin = _iter ;
Expand Down
2 changes: 1 addition & 1 deletion src/libcpp/rdel_mesh/rdel_make_2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@

}

/*------------------------- test for restricted tria. */
/*------------------------- test for restricted cells */
if (_args.dims() >= 2 &&
_geom.have_feat(1) )
{
Expand Down
4 changes: 2 additions & 2 deletions src/libcpp/rdel_mesh/rdel_make_3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@

}

/*------------------------- test for restricted edges */
/*------------------------- test for restricted faces */
if (_args.dims() >= 2 &&
_geom.have_feat(2) )
{
Expand Down Expand Up @@ -976,7 +976,7 @@

}

/*------------------------- test for restricted tria. */
/*------------------------- test for restricted cells */
if (_args.dims() >= 3 &&
_geom.have_feat(2) )
{
Expand Down

0 comments on commit ffc9e56

Please sign in to comment.