Skip to content

Commit 75a0847

Browse files
authored
NEKO v1.0.2 (#2369)
/ᐠ. 。.ᐟ\ᵐᵉᵒʷˎˊ˗
2 parents 7cf297c + 1e4be91 commit 75a0847

File tree

14 files changed

+322
-193
lines changed

14 files changed

+322
-193
lines changed

.github/workflows/check_lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ jobs:
145145
continue
146146
fi
147147
148+
# If the file is the `src/adt/htable.f90` file, skip it.
149+
if [[ $file == "src/adt/htable.f90" ]]; then
150+
continue
151+
fi
152+
148153
printf "\t- $file"
149154
score=$(flint score -r flinter_rc.yml $(realpath $file) 2> /dev/null |
150155
grep -oP '(?<=\>\|)[^\|\<]+(?=\|\<)')

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Changelog
22

33
## Develop
4+
5+
- Rework hash table iterators, significantly faster (O(tsize) => O(entries)
6+
- Remove redundant directory in `site-packages` when installing pyneko
7+
- Add min/max operations when applying strong boundary conditions for the
8+
scalar, mimicing the procedure for the fluid. Needed with meshes where an
9+
element touches the boundary with only an edge.
10+
- Fix `user` scalar boundary conditions only being applied once in the beginning
11+
of the simulation.
412
- Fix `mean_field_output_t` initialization, causing `start_time` to not be
513
respected by the `user_stats` simulation component.
614
- Fix field assignment operator to correctly handle name assignment only when

configure.ac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.69])
2-
AC_INIT([neko],[1.0.1])
2+
AC_INIT([neko],[1.0.2])
33
AM_INIT_AUTOMAKE([foreign subdir-objects])
44
AM_MAINTAINER_MODE
55
AC_CONFIG_MACRO_DIR([m4])
@@ -376,6 +376,7 @@ FCFLAGS="$FCFLAGS $NEKO_PKG_FCFLAGS"
376376

377377
AC_CONFIG_FILES([Makefile\
378378
src/Makefile\
379+
src/python/Makefile\
379380
tests/unit/Makefile\
380381
src/comm/comm.F90\
381382
src/config/neko_config.f90\

doc/pages/user-guide/case-file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ the governing equations to feature the full viscous stress tensor, as required
213213
for a variable viscosity field.
214214

215215
Note that the full viscous stress tensor requires the equations for the 3
216-
velocity components to be solved in a coupled manner. Therefore, the `cpldcg`
217-
solver should be used for velocity.
216+
velocity components to be solved in a coupled manner. Therefore, the `coupled_cg`
217+
(or `fused_coupled_cg`) solver should be used for velocity.
218218

219219
### Boundary conditions {#case-file_fluid-boundary-conditions}
220220
The optional `boundary_conditions` keyword can be used to specify boundary

examples/api/pyneko/cylinder.case

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"output_boundary": true,
77
"output_checkpoints": true,
88
"checkpoint_control": "simulationtime",
9-
"checkpoint_value": 50,
9+
"checkpoint_value": 50.0,
1010
"time": {
1111
"end_time": 200.0,
1212
"variable_timestep": true,
@@ -20,7 +20,7 @@
2020
},
2121
"fluid": {
2222
"scheme": "pnpn",
23-
"Re": 200,
23+
"Re": 200.0,
2424
"initial_condition": {
2525
"type": "user"
2626
},
@@ -82,13 +82,13 @@
8282
"compute_value": 10,
8383
"zone_id": 7,
8484
"zone_name": "Cylinder",
85-
"center": [0,0,0]
85+
"center": [0.0, 0.0, 0.0]
8686
},
8787
{
8888
"type": "fluid_stats",
8989
"output_control": "simulationtime",
90-
"output_value": 10,
91-
"start_time": 50,
90+
"output_value": 10.0,
91+
"start_time": 50.0,
9292
"compute_control": "tsteps",
9393
"compute_value": 10,
9494
"avg_direction": "z",

src/.depends

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ sem/space.lo : sem/space.f90 math/math.lo math/mxm_wrapper.lo math/tensor.lo mat
3434
sem/map_1d.lo : sem/map_1d.f90 math/math.lo common/utils.lo math/vector.lo math/matrix.lo field/field_list.lo sem/coef.lo comm/comm.lo device/device.lo mesh/mesh.lo gs/gather_scatter.lo sem/dofmap.lo sem/space.lo config/num_types.lo config/neko_config.lo
3535
sem/map_2d.lo : sem/map_2d.f90 io/fld_file_data.lo comm/comm.lo device/device.lo field/field.lo math/math.lo common/utils.lo math/vector.lo sem/coef.lo field/field_list.lo mesh/mesh.lo gs/gather_scatter.lo sem/map_1d.lo sem/dofmap.lo config/num_types.lo config/neko_config.lo
3636
sem/dofmap.lo : sem/dofmap.f90 mesh/hex.lo mesh/quad.lo mesh/element.lo math/math.lo device/device.lo math/tensor.lo math/fast3d.lo common/utils.lo config/num_types.lo adt/tuple.lo sem/space.lo mesh/mesh.lo config/neko_config.lo
37-
sem/coef.lo : sem/coef.f90 common/utils.lo device/device.lo math/mxm_wrapper.lo sem/bcknd/device/device_coef.lo math/bcknd/device/device_math.lo mesh/mesh.lo math/math.lo sem/space.lo sem/dofmap.lo config/num_types.lo config/neko_config.lo gs/gs_ops.lo gs/gather_scatter.lo
37+
sem/coef.lo : sem/coef.f90 comm/comm.lo common/utils.lo device/device.lo math/mxm_wrapper.lo sem/bcknd/device/device_coef.lo math/bcknd/device/device_math.lo mesh/mesh.lo math/math.lo sem/space.lo sem/dofmap.lo config/num_types.lo config/neko_config.lo gs/gs_ops.lo gs/gather_scatter.lo
3838
sem/cpr.lo : sem/cpr.f90 math/mxm_wrapper.lo sem/dofmap.lo common/log.lo sem/coef.lo mesh/mesh.lo math/tensor.lo math/math.lo sem/space.lo field/field.lo config/num_types.lo
3939
common/time_interpolator.lo : common/time_interpolator.f90 math/fast3d.lo common/utils.lo math/math.lo math/bcknd/device/device_math.lo config/neko_config.lo field/field_series.lo field/field.lo config/num_types.lo
4040
sem/interpolation.lo : sem/interpolation.f90 common/utils.lo sem/space.lo math/bcknd/cpu/tensor_cpu.lo math/tensor.lo math/fast3d.lo device/device.lo config/num_types.lo config/neko_config.lo

src/Makefile.am

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,7 @@ depend:
654654
endif
655655

656656
if ENABLE_PYTHON
657-
nobase_python_PYTHON = python/pyneko/__init__.py\
658-
python/pyneko/intf.py
657+
SUBDIRS = python
659658
endif
660659

661660
# Note we need to list any headers etc here for the dist. script

0 commit comments

Comments
 (0)