LinearProblem Class Reference

#include <linear_problem.h>

List of all members.

Classes

struct  fn_key_t
struct  FnCache

Public Member Functions

 LinearProblem (WeakForm *wf)
virtual ~LinearProblem ()
void free ()
void set_spaces (Tuple< Space * > sp)
void set_space (Space *sp)
bool assemble (Matrix *matrix, Vector *rhs=NULL)
double get_time ()

Protected Member Functions

scalar ** get_matrix_buffer (int n)
 dimension of the matrix held by 'matrix_buffer'
void create (Matrix *matrix, Vector *rhs=NULL)
scalar eval_form (WeakForm::MatrixFormVol *mfv, fn_t< scalar > *u_ext[], ShapeFunction *fu, ShapeFunction *fv, RefMap *ru, RefMap *rv)
scalar eval_form (WeakForm::VectorFormVol *vfv, fn_t< scalar > *u_ext[], ShapeFunction *fv, RefMap *rv)
scalar eval_form (WeakForm::MatrixFormSurf *mfs, fn_t< scalar > *u_ext[], ShapeFunction *fu, ShapeFunction *fv, RefMap *ru, RefMap *rv, FacePos *fp)
scalar eval_form (WeakForm::VectorFormSurf *vfs, fn_t< scalar > *u_ext[], ShapeFunction *fv, RefMap *rv, FacePos *fp)
sfn_tget_fn (ShapeFunction *fu, int order, RefMap *rm, const int np, const QuadPt3D *pt)
sfn_tget_fn (ShapeFunction *fu, int order, RefMap *rm, int iface, const int np, const QuadPt3D *pt)
void init_ext_fns (user_data_t< ord_t > &fake_ud, std::vector< MeshFunction * > &ext)
void init_ext_fns (user_data_t< scalar > &ud, std::vector< MeshFunction * > &ext, int order, RefMap *rm, const int np, const QuadPt3D *pt)

Protected Attributes

WeakFormwf
int ndofs
int * sp_seq
 number of DOFs
Space ** spaces
 sequence numbers of spaces
double time
scalar ** matrix_buffer
 time of the assembling (in secs)
int matrix_buffer_dim
 buffer for holding square matrix (during assembling)
struct LinearProblem::FnCache fn_cache

Constructor & Destructor Documentation

LinearProblem::LinearProblem ( WeakForm wf  ) 
LinearProblem::~LinearProblem (  )  [virtual]

Member Function Documentation

bool LinearProblem::assemble ( Matrix matrix,
Vector rhs = NULL 
)
void LinearProblem::create ( Matrix matrix,
Vector rhs = NULL 
) [protected]
scalar LinearProblem::eval_form ( WeakForm::VectorFormSurf vfs,
fn_t< scalar > *  u_ext[],
ShapeFunction fv,
RefMap rv,
FacePos fp 
) [protected]
scalar LinearProblem::eval_form ( WeakForm::MatrixFormSurf mfs,
fn_t< scalar > *  u_ext[],
ShapeFunction fu,
ShapeFunction fv,
RefMap ru,
RefMap rv,
FacePos fp 
) [protected]
scalar LinearProblem::eval_form ( WeakForm::VectorFormVol vfv,
fn_t< scalar > *  u_ext[],
ShapeFunction fv,
RefMap rv 
) [protected]
scalar LinearProblem::eval_form ( WeakForm::MatrixFormVol mfv,
fn_t< scalar > *  u_ext[],
ShapeFunction fu,
ShapeFunction fv,
RefMap ru,
RefMap rv 
) [protected]
void LinearProblem::free (  ) 
sfn_t * LinearProblem::get_fn ( ShapeFunction fu,
int  order,
RefMap rm,
int  iface,
const int  np,
const QuadPt3D pt 
) [protected]
sfn_t * LinearProblem::get_fn ( ShapeFunction fu,
int  order,
RefMap rm,
const int  np,
const QuadPt3D pt 
) [protected]
scalar ** LinearProblem::get_matrix_buffer ( int  n  )  [inline, protected]

dimension of the matrix held by 'matrix_buffer'

double LinearProblem::get_time (  )  [inline]
void LinearProblem::init_ext_fns ( user_data_t< scalar > &  ud,
std::vector< MeshFunction * > &  ext,
int  order,
RefMap rm,
const int  np,
const QuadPt3D pt 
) [protected]
void LinearProblem::init_ext_fns ( user_data_t< ord_t > &  fake_ud,
std::vector< MeshFunction * > &  ext 
) [protected]
void LinearProblem::set_space ( Space sp  )  [inline]
void LinearProblem::set_spaces ( Tuple< Space * >  sp  ) 

Member Data Documentation

time of the assembling (in secs)

buffer for holding square matrix (during assembling)

int LinearProblem::ndofs [protected]
int* LinearProblem::sp_seq [protected]

number of DOFs

sequence numbers of spaces

double LinearProblem::time [protected]

The documentation for this class was generated from the following files:
Generated on Fri Sep 3 09:22:20 2010 for Hermes3D Library: Real Version by  doxygen 1.6.3