Overview
Comment:string header file is required.
cmath is preferred to math.h
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 4be02de99d60653c3402ed557f589eb628070eda6d1aa0c1b19aeb266fd5c4e7
User & Date: geraint@users.sourceforge.net on 2004-08-09 17:49:52
Other Links: branch diff | manifest | tags
Context
2004-08-09
17:50:56
Updated to reflect new CR format: component type is passed as the first argument.
Prepended std:: to iostream classes to satisfy g++.
check-in: 2bd0f6b2ed user: geraint@users.sourceforge.net tags: origin/master, trunk
17:49:52
string header file is required.
cmath is preferred to math.h
check-in: 4be02de99d user: geraint@users.sourceforge.net tags: origin/master, trunk
17:49:06
Prepended std:: to iostream classes to satisfy g++.
cmath is preferred to math.h
check-in: 8ae6d2d4de user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/cr/hh/frictionfactor.hh from [4c38b86070] to [45faf85d37].

1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef FRICTIONFACTOR_HH
#define FRICTIONFACTOR_HH

#include <iostream>
#include <math.h>
#include <string>

#include "constants.hh"		// ReL, ReT
#include "fade.hh"

inline double
frictionfactor(const double Re, const double r) {
  if (0.0 == Re) {




|
<







1
2
3
4
5

6
7
8
9
10
11
12
#ifndef FRICTIONFACTOR_HH
#define FRICTIONFACTOR_HH

#include <iostream>
#include <cmath>


#include "constants.hh"		// ReL, ReT
#include "fade.hh"

inline double
frictionfactor(const double Re, const double r) {
  if (0.0 == Re) {


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]