Skip to content

Commit 15476aa

Browse files
committed
Add -transform cube
It is now possible to cut a domain by a cube with rounded corners, which opens many new possibilities. Here is an example: neper -T -n 100 -transform "cut(cube(-0.3,0.7,-0.3,0.7,0.3,0.7,0.001))"
1 parent 2a51636 commit 15476aa

File tree

10 files changed

+4553
-101
lines changed

10 files changed

+4553
-101
lines changed

VERSIONS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
New in 4.8.2-1 (06 Feb 2024):
2+
- module -T: added -transform "cut(cube)".
3+
14
New in 4.8.1 (02 Feb 2024):
25
- general: fixed compatibility with Gmsh (version 4.12.2).
36
- module -S: added -resmesh orifield,orifieldn.

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import sphinx_rtd_theme
1212

1313
project = u'Neper'
14-
version = u'4.8.1'
15-
release = u'4.8.1'
14+
version = u'4.8.2-1'
15+
release = u'4.8.2-1'
1616
author = u'Romain Quey'
1717
copyright = u'Romain Quey'
1818
language = 'en'

doc/neper_t.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ Transformation Options
552552

553553
- :data:`torus[i](<basis_x>,<basis_y>,<basis_z>,<axis_x>,<axis_y>,<axis_z>,<rad>,<srad>)`: a torus of basis point (:data:`<basis_x>`, :data:`<basis_y>`, :data:`<basis_z>`), axis (:data:`<axis_x>`, :data:`<axis_y>`, :data:`<axis_z>`), radius :data:`<rad>` and section radius :data:`<srad>`;
554554

555-
- :data:`cube[i](<xmin>,<xmax>,<ymin>,<ymax>,<zmin>,<zmax>)`: a cube of :math:`x`, :math:`y` and :math:`z` coordinates in the specified ranges. (Only :data:`cubei` is available).
555+
- :data:`cube[i](<xmin>,<xmax>,<ymin>,<ymax>,<zmin>,<zmax>,<rad>)`: a cube of :math:`x`, :math:`y` and :math:`z` coordinates in the specified ranges, with corners of radius :data:`<rad>`; the radius can take any value, but should typically be non-zero (and larger than the cell size).
556556

557557
- :data:`planecut(<d>,<a>,<b>,<c>)`: cut by the (oriented) plane of equation :math:`a\,x+b\,y+c\,z=d`.
558558

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if(POLICY CMP0077)
77
cmake_policy(SET CMP0077 NEW)
88
endif()
99

10-
set(NEPER_VERSION \"4.8.1\")
10+
set(NEPER_VERSION \"4.8.2-1\")
1111
project(neper)
1212

1313
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8.1)

0 commit comments

Comments
 (0)