<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEScalarElectricPotential.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "cdm/properties/SEScalar.h"
6 
7 class CDM_DECL ElectricPotentialUnit : public CCompoundUnit
8 {
9 public:
10  ElectricPotentialUnit(const std::string& u) : CCompoundUnit(u) {}
12 
13  // Please use static units below
16 
17  static bool IsValidUnit(const std::string& unit);
18  static const ElectricPotentialUnit& GetCompoundUnit(const std::string& unit);
19 
20  static const ElectricPotentialUnit V;
21  static const ElectricPotentialUnit mV;
22 };
23 
24 class CDM_DECL SEScalarElectricPotential : public SEScalarQuantity<ElectricPotentialUnit>
25 {
26 public:
29 };
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
Definition: SEScalar.h:206
SEScalarElectricPotential()
Definition: SEScalarElectricPotential.h:27
Definition: SEScalarElectricPotential.h:7
static const ElectricPotentialUnit mV
Definition: SEScalarElectricPotential.h:21
ElectricPotentialUnit(const std::string &u)
Definition: SEScalarElectricPotential.h:10
Definition: SEScalarElectricPotential.h:24
virtual ~SEScalarElectricPotential()
Definition: SEScalarElectricPotential.h:28
static const ElectricPotentialUnit V
Definition: SEScalarElectricPotential.h:20
Definition: CompoundUnit.h:39
virtual ~ElectricPotentialUnit()
Definition: SEScalarElectricPotential.h:11

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.