Commit 83dc89ad authored by Alain O' Miniussi's avatar Alain O' Miniussi
Browse files

dead code

parent a10f1e42
......@@ -38,7 +38,7 @@ namespace fargOCA {
class DiskProfiles;
class DiskPhysic;
class Planet;
class Disk
: public std::enable_shared_from_this<Disk> {
......@@ -47,13 +47,7 @@ namespace fargOCA {
static shptr<Disk> make(fmpi::communicator const& comm, H5::Group const& root);
/// \brief Make a disk in it's initial user specified state.
static shptr<Disk> makeInitial(DiskPhysic const& physic, const GridDispatch& grid);
/// \brief Gaz will be initialized later. Only used for legacy conversion.
static shptr<Disk> makeUninitializedGas(PlanetarySystem& sys,
GridDispatch const& grid);
/// \brief Gaz will be initialized later. Only used for legacy conversion
static shptr<Disk> makeUninitializedGas(DiskPhysic const& physic,
GridDispatch const& grid);
virtual ~Disk();
shptr<Disk> shared() { return shared_from_this(); }
shptr<Disk const> shared() const { return shared_from_this(); }
......@@ -93,18 +93,6 @@ namespace fargOCA {
return shptr<Disk>(new Disk(PlanetarySystem::make(physic), physic.shared(), grid.shared()));
Disk::makeUninitializedGas(PlanetarySystem& system,
GridDispatch const& grid) {
return shptr<Disk>(new Disk(NoInit(), system.shared(), system.physic().shared(), grid.shared()));
Disk::makeUninitializedGas(DiskPhysic const& physic,
GridDispatch const& grid) {
return shptr<Disk>(new Disk(NoInit(), shptr<PlanetarySystem>(), physic.shared(), grid.shared()));
Disk::make(fmpi::communicator const& comm, H5::Group const& root) {
shptr<GridDispatch const> grid = GridDispatch::make(comm, root.openGroup("/grid"));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment