forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
207 lines (138 loc) · 6.62 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# 19.01
-- Documentation and Tutorials on GPU
-- EB implicit function using spline
-- FabArray::fabPtr() function takes MFIter and returns a device
pointer to BaseFab.
# 18.12
-- More GPU supports
# 18.11
-- GPU support in Base and Particle
-- BaseFab is no longer polymorphic
-- EB now supports ghost cells outside physical domain
# 18.10
-- MacProjector class for MAC projection
-- Support for Dirichlet EB in linear solver
-- Option to use PETSc as bottom solver
-- Multi-level linear solver with EB not crossing coarse/fine
boundary.
-- Sundials 3 support
# 18.09
-- Cell-centered linear solver with homogeneous Neumann embedded
boundary.
-- Hypre as a bottom solver has a IJ matrix interface and supports
homogeneous Neumann boundary condition on embedded boundary.
-- Old embedded boundary codes have been removed.
# 18.08
-- Faster geometry generation is available at Src/EB2.
Tutorials/EB/CNS is now based on EB2.
-- AMReX is now fully compliant with xSDK.
-- Fortran interface for particles. See Tutorials/Amr/Advection_F/
for an example.
# 18.07
-- Pre- and post-interpolation hooks in FillPatch.
-- NDEBUG is no longer defined in xSDK mode.
# 18.06
-- When amrex::Initialize is called, optional std::ostream arguments
can be passed in and their defaults are std::cout and std::cerr.
-- ParmParse inputs files can now contain Fortran namelist that can
be accessed from Fortan (and Frotran only). These Fortran inputs
are stored in amrex_namelist character variable in
amrex_parmparse_module, and can be read with standard Fortran
I/O.
-- There is a new non-blocking parallel copy function in
MultiFab/FabArray called ParallelCopy_nowait. It returns a
CopierHandle object and can later be used to finish the
communication with CopierHandle::finish().
# 18.05
-- FillBoundary and ParallelCopy functions can now take IntVect
arguments as the number of ghost cells. That is the number of
ghost cells could be different for different directions.
-- MultiFab, iMultiFab and FabArray can have different number of
ghost cells in different directions.
-- Fortran module mempool_module has been renamed amrex_mempool_module.
-- Many macros have been renamed.
* USE_PARTICLES and PARTICLES have been renamed AMREX_PARTICLES
* DIMENSION_AGNOSTIC has been renamed AMREX_DIMENSION_AGNOSTIC
* USE_CVODE has been renamed AMREX_USE_CVODE
* DEBUG has been renamed AMREX_DEBUG
-- amrex::Array is now an alias to std::array in stead of amrex::Vector.
# 18.04
-- New BoxList constructors making a given number of Boxes from a
single Box.
-- Optimization of particle redistribution
-- MLMG nodal linear solver: add solvability fix
-- Modification to amrex::Initialize and Finalize to make it
suitable as a library in an application that does not use AMReX
as a framework.
# 18.03
-- STL support for EB
# 18.02
-- Fortran interface: added new functions amrex_multifab_build_alias
and amrex_imultifab_build_alias.
-- Documentation in reST/Sphinx. See Docs/Readme.sphinx for more
details.
-- Src/LinearSolvers/MLMG now supports nodal based data.
-- Fortran module AMReX_fillpatch_module takes a user provided
callback function for filling physical boundary conditions. That
function used to use 0-based index for component (i.e., the last
index). For consistence with 1-based index for component in
other Fortran modules, this has been changed to 1-based index for
component.
# 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.