Flow123d  JS_before_hm-1880-gdd969e4e2
Functions
unit_si.cc File Reference


More...

#include <sstream>
#include "tools/unit_si.hh"
#include "tools/unit_converter.hh"
#include "system/asserts.hh"

Go to the source code of this file.

Functions

UnitSI operator* (const UnitSI &a, const UnitSI &b)
 Product of two units. More...
 
UnitSI operator/ (const UnitSI &a, const UnitSI &b)
 Proportion of two units. More...
 

Detailed Description


 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file unit_si.cc.

Function Documentation

◆ operator*()

UnitSI operator* ( const UnitSI a,
const UnitSI b 
)

Product of two units.

Definition at line 235 of file unit_si.cc.

Here is the caller graph for this function:

◆ operator/()

UnitSI operator/ ( const UnitSI a,
const UnitSI b 
)

Proportion of two units.

Definition at line 248 of file unit_si.cc.