ElmerFoamFSI  2.0
ElmerFoamFSI is fluid-solid interaction simulation application built up from OpenFOAM CFD and Elmer CSM coupled through the IMPACT multiphysics software integration infrastructure.
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Groups Pages
Third_Party_Modules/ElmerFSI/trunk/include/ExampleHeader.H
Go to the documentation of this file.
1 #ifndef __EXAMPLE_HEADER_H__
20 #define __EXAMPLE_HEADER_H__
21 #include <string>
22 
23 namespace ElmerModuleDriver {
24 
53  std::string ExampleFunction(const std::string &instring);
54 
74  double TrapezoidQuadrature(double (*f)(double),double x0,double xn,int n);
75 
95  double MidPointQuadrature(double (*f)(double),double x0,double xn,int n);
96 
97 };
98 #endif
double TrapezoidQuadrature(double(*f)(double), double x0, double xn, int n)
Integrates f with composite trapezoid rule.
std::string ExampleFunction(const std::string &instring)
Example function for ElmerModuleDriver (this is a brief description).
double MidPointQuadrature(double(*f)(double), double x0, double xn, int n)
Integrates f with composite midpoint rule.