35 Commits

Author SHA1 Message Date
81de98d9e2 Update the copyright year to 2023.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2023-02-01 18:36:37 -03:00
7da9421744 BLOCKS: Do nothing if processes are equal in change_blocks_process().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-12-06 13:01:13 -03:00
ef1dff58f7 BLOCKS: Add field %physical to data block structure.
This field should be set to .true. if all block cells are physical,
otherwise it should be set to .false..

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-02-19 12:54:57 -03:00
a3a140b572 BLOCKS, BOUNDARIES, EVOLUTION: Fix block variable update.
When the block has been (de)refined, its field %update is set in order
to update its primitive variables. However, the block which are
neighbors of the (de)refined blocks, since their boundaries are updated
too, were not selected for the primitive variable update.

Fix this by adding a new meta block field %boundary, which indicates
that a block boundary has been updated, and update the corresponding
data block primitive variables either if the %update or %boundary flags
are set.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-02-11 22:37:46 -03:00
c268109465 BLOCKS, BOUNDARIES: Simplify the block_info structure.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-02-05 23:18:25 -03:00
4634081ca9 BOUNDARIES: Rewrite boundary_fluxes().
Slighly change the shape of block fluxes. Also add status flag to this
subroutine.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-02-02 16:39:51 -03:00
9829505650 Update copyright year to 2022.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-02-02 09:51:41 -03:00
c57194aef7 BLOCKS: Make variable initialization OpenMP conformant.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-01-08 10:54:34 -03:00
e20cd5de6c BLOCKS: Add subroutine to prepare the vector of data blocks.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-12-07 20:49:03 -03:00
f9436dd9fb BLOCKS: Remove profiling.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-16 12:16:26 -03:00
787e07d572 BLOCKS: Rename %block to %meta in block_info structure.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-04 09:31:44 -03:00
1836f733c7 BLOCKS: Remove field %f from data block structure.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-07-11 01:28:12 -03:00
2509cf3d5a BLOCKS, EVOLUTION: Add block interface fluxes and update them.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-07-10 19:25:44 -03:00
c4a0d1df09 BLOCKS, EVOLUTION: Make dU to be blocks field and use it.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-07-10 17:51:28 -03:00
8d167e3895 MESH: Distribute whole block field %uu in redistribute_blocks().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-07-10 14:22:16 -03:00
3d45fcca34 BLOCKS: Use %uu instead of %u0, %u1, and %u2.
Block field %uu addopts its size according to the used integration
methods. Use it for all operation insteado of fields %u0, %u1, and %u2.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-07-10 14:05:00 -03:00
3b954802a5 BLOCKS, DRIVER: Pass the number of registers to BLOCKS.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-07-10 12:47:01 -03:00
3d16d5c13d Update copyrights.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-02-04 17:35:04 -03:00
f24f071540 BLOCKS: Add additional conserved variable array to data blocks.
It is required for high-order low-storage embedded SSPRK integration
methods.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-08-31 18:52:21 -03:00
7fe1711454 BLOCKS: Remove unused subroutines, variables, and arguments.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-07-31 10:48:14 -03:00
1c76a5b8ca BLOCKS: Reset fields of allocated datablock to zero.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-05-12 06:51:54 -03:00
ad0303d3ba Update copyright.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-03-02 13:18:53 -03:00
d7c3d3d48a BLOCKS: Add status argument to derefine_block().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-12 08:52:00 -02:00
5bfa10e6ac BLOCKS: Update status flag description.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-12 08:45:36 -02:00
60e002bd3b BLOCKS: Add status argument to refine_block().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 22:01:18 -02:00
e6faf7dea9 BLOCKS: Remove set_block_dimensions().
Instead, initialize block dimensions through initialize_blocks().

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 13:30:02 -02:00
55b8e2f073 BLOCKS: Add status argument to build/wipe_leaf_list().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 12:56:14 -02:00
d205696410 BLOCKS: Add status argument to append/remove_datablock().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 12:42:25 -02:00
9e9c903cc1 BLOCKS: Add status argument to append/remove_metablock().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 12:34:20 -02:00
4e688b8fcd BLOCKS: Add status argument to insert_metablock_after/before().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 12:26:57 -02:00
5caf3f37cf BLOCKS: Add status argument to allocate/deallocate_datablock().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 12:09:45 -02:00
34329834a6 BLOCKS: Add status argument to allocate/deallocate_metablock().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 11:54:43 -02:00
e6a1206919 BLOCKS: Update the initialization/finalization status flag.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 08:28:36 -02:00
ea993ed8d0 BLOCKS, DRIVER: Initialize block dimensions in initialize_blocks().
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 17:26:24 -02:00
f8b65842af Move source files from src/ to sources/.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 09:14:20 -02:00