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: 110ca310cfba643eea8c8653925662a755a8e0a2f27061b8b8469a6f37567000
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: de2bcac636 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: 110ca310cf 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: 5ad98a8817 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 ]