mbsim 4.0.0 MBSim Kernel

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ansatz_function Class Referenceabstract

a class of ansatz-functions for approximations with Galerkin-Method More...

`#include <ansatz_functions.h>`

Inheritance diagram for ansatz_function:
[legend]

## Public Member Functions

fmatvec::SymMat | MatIntWWT ()
fmatvec::SymMat | MatIntWSWST ()
fmatvec::Vec | VecW0 ()
fmatvec::Vec | VecWL ()
fmatvec::Vec | VecIntW ()
fmatvec::Vec | VecW (double xi)
fmatvec::Vec | VecWS (double xi)
int | order ()
int | dim ()
| ansatz_function (int n, double l)
virtual | ~ansatz_function ()

## Protected Member Functions

virtual double | Intwiwj (int i, int j)=0
virtual double | Intwsiwsj (int i, int j)=0
virtual double | wi0 (int i)=0
virtual double | wiL (int i)=0
virtual double | Intwi (int i)=0
virtual double | wi (int i, double xi)=0
virtual double | wis (int i, double xi)=0

## Protected Attributes

int | Ord
int | Dim
double | L

## Detailed Description

a class of ansatz-functions for approximations with Galerkin-Method

Date
  2009-07-22 check in (Markus Schneider, Thanks to Markus Friedrich)

## Constructor & Destructor Documentation

## ◆ ansatz_function()

ansatz_function::ansatz_function | ( | int | n,
|  | double | l
| ) |  |

Constructor

Parameters

  n | Order
  l | Lenght of the conduction

## ◆ ~ansatz_function()

ansatz_function::~ansatz_function | ( |  | ) |

virtual default

Descructor

## Member Function Documentation

## ◆ dim()

int ansatz_function::dim | ( |  | ) |

Return the dimension of the system

## ◆ Intwi()

virtual double ansatz_function::Intwi | ( | int | i | ) |

protected pure virtual

Returns the value of "int(w[i](x), x=0..L)"

Implemented in ansatz_function_BSplineOrd4, ansatz_function_BSplineOrd3, ansatz_function_polynom, and ansatz_function_harmonic.

## ◆ Intwiwj()

virtual double ansatz_function::Intwiwj | ( | int | i,
|  | int | j
| ) |  |

protected pure virtual

Returns the value of "int(w[i]*w[j],x=0..L)"

Implemented in ansatz_function_BSplineOrd4, ansatz_function_BSplineOrd3, ansatz_function_polynom, and ansatz_function_harmonic.

## ◆ Intwsiwsj()

virtual double ansatz_function::Intwsiwsj | ( | int | i,
|  | int | j
| ) |  |

protected pure virtual

Returns the value of "int(D(w[i])(x)*D(w[j])(x),x=0..L)

Implemented in ansatz_function_BSplineOrd4, ansatz_function_BSplineOrd3, ansatz_function_polynom, and ansatz_function_harmonic.

## ◆ MatIntWSWST()

SymMat ansatz_function::MatIntWSWST | ( |  | ) |

Return the matrix of the 1-derive of the basic function

## ◆ MatIntWWT()

SymMat ansatz_function::MatIntWWT | ( |  | ) |

Return the matrix of the 0-derive of the basic function

## ◆ order()

int ansatz_function::order | ( |  | ) |

Return the order of the system

## ◆ VecIntW()

Vec ansatz_function::VecIntW | ( |  | ) |

Return the vector of int(W, x=0..L)

## ◆ VecW()

Vec ansatz_function::VecW | ( | double | xi | ) |

Returns the value of "w(xi)", 0<=xi<=1

## ◆ VecW0()

Vec ansatz_function::VecW0 | ( |  | ) |

Return the vector of w(x=0)

## ◆ VecWL()

Vec ansatz_function::VecWL | ( |  | ) |

Return the vector of W(x=L)

## ◆ VecWS()

Vec ansatz_function::VecWS | ( | double | xi | ) |

Returns the value of "D(w)(xi)", 0<=xi<=1

## ◆ wi()

virtual double ansatz_function::wi | ( | int | i,
|  | double | xi
| ) |  |

protected pure virtual

Returns the value of "w[i](xi)", 0<=xi<=1

Implemented in ansatz_function_BSplineOrd4, ansatz_function_BSplineOrd3, ansatz_function_polynom, and ansatz_function_harmonic.

## ◆ wi0()

virtual double ansatz_function::wi0 | ( | int | i | ) |

protected pure virtual

Returns the value of "w[i](x=0)"

Implemented in ansatz_function_BSplineOrd4, ansatz_function_BSplineOrd3, ansatz_function_polynom, and ansatz_function_harmonic.

## ◆ wiL()

virtual double ansatz_function::wiL | ( | int | i | ) |

protected pure virtual

Returns the value of "w[i](x=L)"

Implemented in ansatz_function_BSplineOrd4, ansatz_function_BSplineOrd3, ansatz_function_polynom, and ansatz_function_harmonic.

## ◆ wis()

virtual double ansatz_function::wis | ( | int | i,
|  | double | xi
| ) |  |

protected pure virtual

Returns the value of "D(w[i])(xi)", 0<=xi<=1

Implemented in ansatz_function_BSplineOrd4, ansatz_function_BSplineOrd3, ansatz_function_polynom, and ansatz_function_harmonic.

## Member Data Documentation

## ◆ Dim

int ansatz_function::Dim

protected

Var for the dimensoin of the returned matrix

## ◆ L

double ansatz_function::L

protected

Var for the lenght of the condunction

## ◆ Ord

int ansatz_function::Ord

protected

Var for the order of the system

The documentation for this class was generated from the following files:

- /mbsim-env/mbsim/kernel/mbsim/utils/ansatz_functions.h
- /mbsim-env/mbsim/kernel/mbsim/utils/ansatz_functions.cc