forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGES
80 lines (59 loc) · 3.08 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# changes since the last release
# 18.01
-- New linear solver MLMG at Src/LinearSolvers/MLMG/. Currently it
supports cell-centered single level and multi-level composite
solve. Fortran interface is also available at
Src/F_Interfaces/LinearSolvers/. See Tutorials/LinearSolvers for
tutorials.
# 17.12
-- Ported more features (including dynamic scheduling and explicit
tile size) of MFIter from C++ to Fortran.
-- Added procedures to Fortran amrex_multifab_module to add,
subtract, multiply, divide, saxpy and lincomb (linear
combination). Note that we call it saxpy, but it doesn't mean
single precision.
-- The `configure; make; make install` build approach enables linear
solvers by default now.
-- MultiFab and iMultiFab now support move assignment operator.
This allows for swapping two MultiFabs without deep copying. For
instance, std::swap(mf1, mf2);
-- Tutorials/Amr/Advection_AmrCore changes from using
`Vector<unique_ptr<MultiFab>>` to `Vector<MultiFab>`.
# 17.11
-- AMREX_ASSERT_WITH_MESSAGE and AMREX_ALWAYS_ASSERT_WITH_MESSAGE
are new macros for assertion when it fails additional message
will be printed. For example:
AMREX_ASSERT_WITH_MESSAGE(x > y, "reason why x > y must be true");
-- amrex::Array is deprecated and replaced by amrex::Vector.
Currently Array is an alias to Vector. So this should not break
any codes. In the future, we will remove Array completely.
Therefore it is recommended that application codes should start
replacing Array with Vector. There is a script,
amrex/Tools/Migration/amrex_array_to_vector.sh, to help. But use
it with caution. If it is completely gibberish to you, you
probably shouldn't use the script.
-- functions for printing to a file in a parallel and thread-safe manner
have been added. For example:
amrex::AllPrintToFile("output") << "Hello from rank " << rank <<
" and thread " << thread << "\n";
will print out the requested information to separate files for each
rank and thread.
# 17.10
-- Added a load balance approach to Amr/AmrLevel. The runtime
parameters for this is amr.loadbalance_with_workestimates and
amr.loadbalance_level0_int. The latter is for single level
(i.e., amr.max_level=0) only. For multi-level runs, load balance
is done during regrid and thus the load balance interval is
controlled by amr.regrid_int. To use this approach, AmrLevel
derivative must has a StateData for work estimates and its index
is returned by virtual function int WorkEstType().
-- MFIter now supports dynamic scheduling of OpenMP threads. For
example,
for (MFIter mfi(mf, MFItInfo().SetDynamic(true).EnableTiling(tile_size);
mfi.isValid(); ++mfi)
{ ... }
-- Added EBFluxRegister to Src/EB for refluxing and
re-redistribution in EB.
-- amrex.signal_handling = 1 is a new runtime parameter that can be
used to control whether AMReX should handle signals like SIGSEGV
etc.