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
12#define DefaultGasTransporterUnits VolumePerTimeUnit::L_Per_s, VolumeUnit::L, VolumeUnit::L, NoUnit::unitless
13
14class CDM_DECL SEGasCompartmentGraph : public SECompartmentTransportGraph<SEGasTransportGraph, SEGasTransportVertex, SEGasTransportEdge, SEGasCompartment, SEGasCompartmentLink>
15{
16 friend class PBCompartment;//friend the serialization class
18protected:
19 SEGasCompartmentGraph(const std::string& name, Logger* logger) : SECompartmentTransportGraph(name, logger) {};
20public:
22
23 void AddGraph(SEGasCompartmentGraph& graph);
24
25protected:
26 void BalanceByIntensive() override;
27};
Definition: Logger.h:71
Definition: PBCompartment.h:28
Definition: SECompartmentManager.h:25
Definition: SECompartmentTransportGraph.h:12
void BalanceByIntensive() override=0
Definition: SEGasCompartmentGraph.h:15
virtual ~SEGasCompartmentGraph()
Definition: SEGasCompartmentGraph.h:21
SEGasCompartmentGraph(const std::string &name, Logger *logger)
Definition: SEGasCompartmentGraph.h:19
Definition: SESubstanceTransport.h:71
Definition: SESubstanceTransport.h:86

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.