|
rbmatlab 0.10.01
|
an ldg shape functions implementation
Definition at line 1 of file ldgdiscfunc.m.

Public Member Functions | |
| ldgdiscfunc ( varargin) | |
| initialize ldg function on triangular grids with input | |
| function | display () |
| function res = | evaluate ( eindices, lcoord) |
| function res = | subsasgn ( S, val) |
| function res = | subsref ( S) |
| function sdf = | scalar_component ( ncomp) |
| extraction of scalar component of vectorial ldg function | |
| function p = | plot ( params) |
| plot as colormap | |
Public Attributes | |
| nelements | |
| number of elements | |
| pdeg | |
| polynomial degree | |
| ndofs_per_element | |
| number of DOFs per grid elment | |
| ndofs | |
| number of DOFs | |
| dimrange | |
| dimension of range space | |
| dofs | |
| the DOF vector | |
| ::gridbase | grid |
| grid object | |
| ldgdiscfunc.ldgdiscfunc | ( | varargin | ) |
initialize ldg function on triangular grids with input
note, the only use of this class is, that by local storage of the dof vector and a (..) as evaluation routine, these objects can be used identically as analytical functions in integration, matrix assembly, etc. But in general the ../ldg directory contains methods for handling ldg functions based on seperate dof and parameter storage. These methods are more efficient as the class&methods.
pdeg - polynomial degree on each elementdimrange - dimension of functionnelements - number of trianglesi.e. dofs with number 1,1+dimrange,1+2 dimrange ... are the dofs of the first scalar component, etc.
let
be an orthonormal basis on the reference triangle
. Let T be an arbitrary triangle and
be the reference mapping from
to
. Then for all global dof indices
there exists an element
and local index
such that 
Then an ldg-discrete function is given by
| varargin | varargin |
Definition at line 68 of file ldgdiscfunc.m.
| function ldgdiscfunc.display | ( | ) |
| function res = ldgdiscfunc.evaluate | ( | eindices, | |
| lcoord | |||
| ) |
Definition at line 2 of file evaluate.m.
| function p = ldgdiscfunc.plot | ( | params | ) |
plot as colormap
| params | params |
| p | p |
Definition at line 195 of file ldgdiscfunc.m.
| function sdf = ldgdiscfunc.scalar_component | ( | ncomp | ) |
extraction of scalar component of vectorial ldg function
| ncomp | ncomp |
| sdf | sdf |
Definition at line 182 of file ldgdiscfunc.m.
| function res = ldgdiscfunc.subsasgn | ( | S, | |
| val | |||
| ) |
Definition at line 2 of file subsasgn.m.
| function res = ldgdiscfunc.subsref | ( | S | ) |
1.7.4