Skip to content

Commit

Permalink
start central FoamAdapter.hpp, move readers/foamFields.hpp -> readers…
Browse files Browse the repository at this point in the history
….hpp
  • Loading branch information
greole committed Oct 25, 2024
1 parent bbdf62f commit 4511acc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
13 changes: 2 additions & 11 deletions examples/scalarAdvection/scalarAdvection.cpp
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2023 NeoFOAM authors

#include "NeoFOAM/core/executor/executor.hpp"
#include "NeoFOAM/fields/field.hpp"
#include "NeoFOAM/mesh/unstructured.hpp"
#include "NeoFOAM/finiteVolume/cellCentred/operators/gaussGreenDiv.hpp"
#include "NeoFOAM/finiteVolume/cellCentred/operators/gaussGreenGrad.hpp"
#include "NeoFOAM/finiteVolume/cellCentred/interpolation/surfaceInterpolation.hpp"
#include "FoamAdapter/FoamAdapter.hpp"

#include "fvCFD.H"

#include "FoamAdapter/meshAdapter.hpp"
#include "FoamAdapter/readers/foamFields.hpp"

#include "FoamAdapter/writers.hpp"
#include "FoamAdapter/setup.hpp"
using namespace Foam;

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace fvcc = NeoFOAM::finiteVolume::cellCentred;
Expand Down
10 changes: 10 additions & 0 deletions include/FoamAdapter/FoamAdapter.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2024 NeoFOAM authors

#include "NeoFOAM/finiteVolume/cellCentred/interpolation/surfaceInterpolation.hpp"
#include "NeoFOAM/finiteVolume/cellCentred/operators/gaussGreenDiv.hpp"

#include "FoamAdapter/meshAdapter.hpp"
#include "FoamAdapter/readers.hpp"
#include "FoamAdapter/writers.hpp"
#include "FoamAdapter/setup.hpp"
2 changes: 1 addition & 1 deletion include/FoamAdapter/meshAdapter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "NeoFOAM/core/executor/executor.hpp"
#include "NeoFOAM/mesh/unstructured.hpp"

#include "readers/foamFields.hpp"
#include "readers.hpp"

namespace Foam
{
Expand Down
File renamed without changes.

0 comments on commit 4511acc

Please sign in to comment.