SEGasCompartmentGraph.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/SEGasCompartment.h"
6#include "cdm/compartment/fluid/SEGasCompartmentLink.h"
7#include "cdm/compartment/SECompartmentTransportGraph.h"
9
10class CDM_DECL SEGasCompartmentGraph : public SECompartmentTransportGraph<SEGasTransportGraph, SEGasTransportVertex, SEGasTransportEdge, SEGasCompartment, SEGasCompartmentLink>
11{
12 friend class PBCompartment;//friend the serialization class
14protected:
15 SEGasCompartmentGraph(const std::string& name, Logger* logger) : SECompartmentTransportGraph(name, logger) {};
16public:
18
19 void AddGraph(SEGasCompartmentGraph& graph);
20
21protected:
22 void BalanceByIntensive();
23};
Definition: Logger.h:71
Definition: PBCompartment.h:28
Definition: SECompartmentManager.h:25
Definition: SECompartmentTransportGraph.h:12
virtual void BalanceByIntensive()=0
Definition: SEGasCompartmentGraph.h:11
virtual ~SEGasCompartmentGraph()
Definition: SEGasCompartmentGraph.h:17
SEGasCompartmentGraph(const std::string &name, Logger *logger)
Definition: SEGasCompartmentGraph.h:15

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.