All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
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:
ansatz_function_BSplineOrd3 ansatz_function_BSplineOrd4 ansatz_function_harmonic ansatz_function_polynom

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

Constructor

Parameters
nOrder
lLenght of the conduction
ansatz_function::~ansatz_function ( )
virtual

Descructor

Member Function Documentation

int ansatz_function::dim ( )

Return the dimension of the system

virtual double ansatz_function::Intwi ( int  i)
protectedpure 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.

virtual double ansatz_function::Intwiwj ( int  i,
int  j 
)
protectedpure 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.

virtual double ansatz_function::Intwsiwsj ( int  i,
int  j 
)
protectedpure 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.

SymMat ansatz_function::MatIntWSWST ( )

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

SymMat ansatz_function::MatIntWWT ( )

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

int ansatz_function::order ( )

Return the order of the system

Vec ansatz_function::VecIntW ( )

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

Vec ansatz_function::VecW ( double  xi)

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

Vec ansatz_function::VecW0 ( )

Return the vector of w(x=0)

Vec ansatz_function::VecWL ( )

Return the vector of W(x=L)

Vec ansatz_function::VecWS ( double  xi)

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

virtual double ansatz_function::wi ( int  i,
double  xi 
)
protectedpure 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.

virtual double ansatz_function::wi0 ( int  i)
protectedpure virtual
virtual double ansatz_function::wiL ( int  i)
protectedpure virtual
virtual double ansatz_function::wis ( int  i,
double  xi 
)
protectedpure 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

int ansatz_function::Dim
protected

Var for the dimensoin of the returned matrix

double ansatz_function::L
protected

Var for the lenght of the condunction

int ansatz_function::Ord
protected

Var for the order of the system


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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML