MBSim

Project Page
Public Member Functions | Protected Member Functions | Protected Attributes
ansatz_function Class Reference

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

#include <ansatz_functions.h>

Inheritance diagram for ansatz_function:
ansatz_function_BSplineOrd3 ansatz_function_BSplineOrd4 ansatz_function_harmonic ansatz_function_polynom

List of all members.

Public Member Functions

fmatvec::SymMat MatIntWWT ()
 Return the matrix of the 0-derive of the basic function.
fmatvec::SymMat MatIntWSWST ()
 Return the matrix of the 1-derive of the basic function.
fmatvec::Vec VecW0 ()
 Return the vector of w(x=0)
fmatvec::Vec VecWL ()
 Return the vector of W(x=L)
fmatvec::Vec VecIntW ()
 Return the vector of int(W, x=0..L)
fmatvec::Vec VecW (double xi)
 Returns the value of "w(xi)", 0<=xi<=1.
fmatvec::Vec VecWS (double xi)
 Returns the value of "D(w)(xi)", 0<=xi<=1.
int order ()
 Return the order of the system.
int dim ()
 Return the dimension of the system.
 ansatz_function (int n, double l)
 Constructor.
virtual ~ansatz_function ()
 Descructor.

Protected Member Functions

virtual double Intwiwj (int i, int j)=0
 Returns the value of "int(w[i]*w[j],x=0..L)".
virtual double Intwsiwsj (int i, int j)=0
 Returns the value of "int(D(w[i])(x)*D(w[j])(x),x=0..L)
virtual double wi0 (int i)=0
 Returns the value of "w[i](x=0)".
virtual double wiL (int i)=0
 Returns the value of "w[i](x=L)".
virtual double Intwi (int i)=0
 Returns the value of "int(w[i](x), x=0..L)".
virtual double wi (int i, double xi)=0
 Returns the value of "w[i](xi)", 0<=xi<=1.
virtual double wis (int i, double xi)=0
 Returns the value of "D(w[i])(xi)", 0<=xi<=1.

Protected Attributes

int Ord
 Var for the order of the system.
int Dim
 Var for the dimensoin of the returned matrix.
double L
 Var for the lenght of the condunction.

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 ( int  n,
double  l 
)

Constructor.

Parameters:
nOrder
lLenght of the conduction

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