Skip to content

Commit

Permalink
BOUT++ header locations
Browse files Browse the repository at this point in the history
BOUT++ v5 moves all headers into bout/ directory.

Suppresses upgrade warnings
  • Loading branch information
bendudson committed Oct 9, 2024
1 parent 349b6b2 commit 2edfb03
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion diffusion2d.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define __NEUTRAL_DIFFUSION2D_H__

#include "neutral-model.hxx"
#include <invert_laplace.hxx>
#include <bout/invert_laplace.hxx>

class Diffusion2D : public NeutralModel {
public:
Expand Down
10 changes: 5 additions & 5 deletions div_ops.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@

#include <bout/assert.hxx>
#include <bout/mesh.hxx>
#include <derivs.hxx>
#include <difops.hxx>
#include <globals.hxx>
#include <output.hxx>
#include <utils.hxx>
#include <bout/derivs.hxx>
#include <bout/difops.hxx>
#include <bout/globals.hxx>
#include <bout/output.hxx>
#include <bout/utils.hxx>

#include <bout/index_derivs.hxx>

Expand Down
4 changes: 2 additions & 2 deletions div_ops.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#ifndef __DIV_OPS_H__
#define __DIV_OPS_H__

#include <field3d.hxx>
#include <vector3d.hxx>
#include <bout/field3d.hxx>
#include <bout/vector3d.hxx>

class CustomStencil {
public:
Expand Down
12 changes: 6 additions & 6 deletions hermes-2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
*/
#include "hermes-2.hxx"

#include <derivs.hxx>
#include <field_factory.hxx>
#include <initialprofiles.hxx>
#include <bout/derivs.hxx>
#include <bout/field_factory.hxx>
#include <bout/initialprofiles.hxx>

#include <invert_parderiv.hxx>
#include "parallel_boundary_region.hxx"
#include "boundary_region.hxx"
#include <bout/invert_parderiv.hxx>
#include <bout/parallel_boundary_region.hxx>
#include <bout/boundary_region.hxx>

#include "div_ops.hxx"
#include "loadmetric.hxx"
Expand Down
4 changes: 2 additions & 2 deletions hermes-2.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class Hermes;

#include <bout/physicsmodel.hxx>

#include <invert_laplace.hxx>
#include <bout/invert_laplace.hxx>
#include <bout/invert/laplacexy.hxx>
#include <bout/invert/laplacexz.hxx>
#include <bout/constants.hxx>
#include <mask.hxx>
#include <bout/mask.hxx>

#include "neutral-model.hxx"

Expand Down
8 changes: 4 additions & 4 deletions loadmetric.cxx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <globals.hxx>
#include <output.hxx>
#include <utils.hxx>
#include <field2d.hxx>
#include <bout/globals.hxx>
#include <bout/output.hxx>
#include <bout/utils.hxx>
#include <bout/field2d.hxx>
#include <bout/mesh.hxx>

#include "loadmetric.hxx"
Expand Down
2 changes: 1 addition & 1 deletion loadmetric.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#ifndef __LOADMETRIC_H__
#define __LOADMETRIC_H__

#include <bout_types.hxx>
#include <bout/bout_types.hxx>

void LoadMetric(BoutReal Lnorm, BoutReal Bnorm);

Expand Down
4 changes: 2 additions & 2 deletions neutral-model.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#ifndef __NEUTRAL_MODEL_H__
#define __NEUTRAL_MODEL_H__

#include <field3d.hxx>
#include <options.hxx>
#include <bout/field3d.hxx>
#include <bout/options.hxx>
#include <bout/solver.hxx>
#include <bout/mesh.hxx>

Expand Down
8 changes: 4 additions & 4 deletions radiation.cxx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <boutexception.hxx>
#include <globals.hxx> // for mesh object
#include <output.hxx>
#include <utils.hxx>
#include <bout/boutexception.hxx>
#include <bout/globals.hxx> // for mesh object
#include <bout/output.hxx>
#include <bout/utils.hxx>

#include "radiation.hxx"

Expand Down
4 changes: 2 additions & 2 deletions radiation.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#ifndef __RADIATION_H__
#define __RADIATION_H__

#include <field3d.hxx>
#include <bout_types.hxx>
#include <bout/field3d.hxx>
#include <bout/bout_types.hxx>

#include <vector>
#include <cmath>
Expand Down

0 comments on commit 2edfb03

Please sign in to comment.