Multiscale Universal Interface  2.0
A Concurrent Framework for Coupling Heterogeneous Solvers
mui::dim::electrical Namespace Reference

Typedefs

using charge = decltype(current() *time())
 
using voltage = decltype(power()/current())
 
using capacitance = decltype(charge()/voltage())
 
using resistance = decltype(voltage()/current())
 
using conductance = decltype(current()/voltage())
 

Functions

 make_unit (charge, C, u) make_unit(charge
 
u * make_unit (voltage, kV, u *1e3) make_unit(voltage
 
u u make_unit (voltage, mV, u *1e-3) make_unit(capacitance
 
u u u make_unit (capacitance, mF, u *1e-3) make_unit(capacitance
 
u u u u * make_unit (capacitance, nF, u *1e-9) make_unit(capacitance
 
u u u u u * make_unit (resistance, Mohm, u *1e6) make_unit(resistance
 
u u u u u u * make_unit (resistance, ohm, u) make_unit(conductance
 

Variables

 e
 
V
 
u u F
 
u u u uF
 
u u u u pF
 
u u u u u kohm
 
u u u u u u S
 

Typedef Documentation

◆ capacitance

using mui::dim::electrical::capacitance = typedef decltype( charge() / voltage() )

◆ charge

using mui::dim::electrical::charge = typedef decltype( current() * time() )

◆ conductance

using mui::dim::electrical::conductance = typedef decltype( current() / voltage() )

◆ resistance

using mui::dim::electrical::resistance = typedef decltype( voltage() / current() )

◆ voltage

using mui::dim::electrical::voltage = typedef decltype( power() / current() )

Function Documentation

◆ make_unit() [1/7]

u u u mui::dim::electrical::make_unit ( capacitance  ,
mF  ,
u *1e 3 
)

◆ make_unit() [2/7]

u u u u* mui::dim::electrical::make_unit ( capacitance  ,
nF  ,
u *1e 9 
)

◆ make_unit() [3/7]

mui::dim::electrical::make_unit ( charge  ,
C  ,
 
)

◆ make_unit() [4/7]

u u u u u* mui::dim::electrical::make_unit ( resistance  ,
Mohm  ,
u *  1e6 
)

◆ make_unit() [5/7]

u u u u u u* mui::dim::electrical::make_unit ( resistance  ,
ohm  ,
 
)

◆ make_unit() [6/7]

u* mui::dim::electrical::make_unit ( voltage  ,
kV  ,
u *  1e3 
)

◆ make_unit() [7/7]

u u mui::dim::electrical::make_unit ( voltage  ,
mV  ,
u *1e 3 
)

Variable Documentation

◆ e

mui::dim::electrical::e

◆ F

u u mui::dim::electrical::F

◆ kohm

u u u u u mui::dim::electrical::kohm

◆ pF

u u u u mui::dim::electrical::pF

◆ S

u u u u u u mui::dim::electrical::S

◆ uF

u u u mui::dim::electrical::uF

◆ V

u mui::dim::electrical::V