Skip to content

Commit 7646a94

Browse files
authored
Merge branch 'main' into move-src/External
2 parents 2c85225 + 3c0b71a commit 7646a94

File tree

5 files changed

+18
-15
lines changed

5 files changed

+18
-15
lines changed

Diff for: doc/source/devel/debugging.rst

+7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ This will cause charm++ to open an xterm window for each node and within each wi
2424

2525
You generally don't need to worry about having symbols for other libraries (like charm++).
2626

27+
.. note::
28+
29+
If you are on a modern version macOS, you might encounter some weird errors complaining about the ``DISPLAY`` variable when you pass ``++debug`` or ``++debug-no-pause``.
30+
One way to work around this issue is to install XQuartz from `the official website <https://www.xquartz.org/>`_ and download xterm through homebrew.
31+
Note: you probably need to restart your machine after installing both of these.
32+
33+
2734
.. note::
2835
TODO: add instructions for using GDB on a remote cluster using an MPI-based build of charm++
2936

Diff for: src/Cello/data_Object.hpp

+5-9
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ class Object : public PUP::able {
1717
public: // interface
1818

1919
/// Constructor
20-
Object() throw()
21-
{ }
20+
Object() = default;
2221

2322
/// Charm++ PUP::able declarations
2423
PUPable_abstract(Object);
@@ -28,16 +27,13 @@ class Object : public PUP::able {
2827
{ }
2928

3029
/// Copy constructor
31-
Object(const Object & Object) throw()
32-
{ }
30+
Object(const Object & Object) = default;
3331

34-
/// Assignment operator
35-
Object & operator= (const Object & Object) throw()
36-
{ }
32+
/// Copy assignment operator
33+
Object & operator= (const Object & Object) = default;
3734

3835
/// Destructor
39-
virtual ~Object() throw()
40-
{ }
36+
virtual ~Object() = default;
4137

4238
/// CHARM++ Pack / Unpack function
4339
void pup (PUP::er &p)

Diff for: src/Enzo/enzo-core/EnzoUnits.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class EnzoUnits : public Units {
3737
{ }
3838

3939
/// CHARM++ Pack / Unpack function
40-
void pup (PUP::er &p);
40+
void pup (PUP::er &p) override;
4141

4242
/// Update current units for cosmological problems
4343
void set_current_time (double time);

Diff for: src/Enzo/gravity/EnzoPhysicsGravity.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class EnzoPhysicsGravity : public Physics {
6565
{ }
6666

6767
/// CHARM++ Pack / Unpack function
68-
void pup (PUP::er &p)
68+
void pup (PUP::er &p) override
6969
{
7070
TRACEPUP;
7171
Physics::pup(p);

Diff for: src/Enzo/particle/formation/EnzoMethodStarMakerSTARSS.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ class EnzoMethodStarMakerSTARSS : public EnzoMethodStarMaker {
2828
{ }
2929

3030
/// Charm++ Pack / Unpack function
31-
void pup (PUP::er &p);
31+
void pup (PUP::er &p) override;
3232

3333
/// Apply method
34-
virtual void compute ( Block * block) throw();
34+
void compute ( Block * block) throw() override;
3535

36-
virtual std::string particle_type () throw()
36+
std::string particle_type () throw() override
3737
{ return "star";}
3838

3939
/// Name
40-
virtual std::string name () throw()
40+
std::string name () throw() override
4141
{ return "star_maker";}
4242

4343
virtual ~EnzoMethodStarMakerSTARSS() throw() {};

0 commit comments

Comments
 (0)