Flow123d  JS_before_hm-1804-gf2ad740aa
Classes | Functions
unit_si.hh File Reference


More...

#include <vector>
#include <string>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UnitSI
 Class for representation SI units of Fields. More...
 
struct  UnitSI::OutputFormat
 Variable parts of output format. Used in the format method. More...
 

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.hh.

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.