SELiquidCompartmentGraph.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/compartment/fluid/SELiquidCompartment.h"
6#include "cdm/compartment/fluid/SELiquidCompartmentLink.h"
7#include "cdm/compartment/SECompartmentTransportGraph.h"
8
10
11class CDM_DECL SELiquidCompartmentGraph : public SECompartmentTransportGraph<SELiquidTransportGraph, SELiquidTransportVertex, SELiquidTransportEdge, SELiquidCompartment, SELiquidCompartmentLink>
12{
13 friend class PBCompartment;//friend the serialization class
15protected:
16 SELiquidCompartmentGraph(const std::string& name, Logger* logger) : SECompartmentTransportGraph(name, logger) {};
17public:
19
20 void AddGraph(SELiquidCompartmentGraph& graph);
21
22protected:
23 void BalanceByIntensive();
24};
Definition: Logger.h:71
Definition: PBCompartment.h:28
Definition: SECompartmentManager.h:25
Definition: SECompartmentTransportGraph.h:12
virtual void BalanceByIntensive()=0
Definition: SELiquidCompartmentGraph.h:12
SELiquidCompartmentGraph(const std::string &name, Logger *logger)
Definition: SELiquidCompartmentGraph.h:16
virtual ~SELiquidCompartmentGraph()
Definition: SELiquidCompartmentGraph.h:18

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.