rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
List of all members | Public Member Functions | Public Attributes
Fem.Lagrange.BubbleInfo Class Reference

Detailed Description

scalar Lagrange FE functions (degree 1) with additional bubble function on triangular grid

Definition at line 19 of file BubbleInfo.m.

Inheritance diagram for Fem.Lagrange.BubbleInfo:
Inheritance graph
[legend]
Collaboration diagram for Fem.Lagrange.BubbleInfo:
Collaboration graph
[legend]

Public Member Functions

 BubbleInfo (unused1,gridbase grid)
 constructor More...
 
function obj2 = copy ()
 copy constructor More...
 
function res = get_global_dof_index (einds, gids)
 returns entries of global-dof-map for several elements and several local dof ids More...
 
function res = get_dof_ids_global (unused1)
 returns global dof ids belonging to one component (indices into DOF-vector) More...
 
function res = evaluate_basis (lcoord)
 evaluation of all basis functions in local coordinate More...
 
function res = evaluate_scalar_basis_derivative (lcoord, unused1)
 evaluation of the gradient of a scalar basis in local coordinate More...
 
function res = evaluate_basis_function (lcoord, i)
 evaluation of i-th basis function in local coordinate More...
 
function res = evaluate_basis_function_derivative (lcoord, i)
 evaluation of the gradient of i-th basis function in local coordinate More...
 
function df = interpol_local (func, params)
 interpolating a given analytical function input: More...
 
- Public Member Functions inherited from Fem.IFemInfo
function df = interpol_global (func, params)
 interpolates a given analytical function that can be evaluated at (glob, params) More...
 
- Public Member Functions inherited from DataTree.INode
virtual function DataTree.INode tree = create_tree (DataTree.ICreator creator, ids, mu_cube, tslice, basepath)
 Creates a new tree from a subtree specified by ids, parameter and time index regions. More...
 
virtual function this = set (index, value)
 Sets a child at the given path in the tree hierarchy. More...
 
function  leaf_func (funcptr, ids, mu_cube, tslice)
 applies a function to all leafs of a DataTree More...
 
function tree = create_scalar_tree (funcptr, ids, mu_cube, tslice)
 copies the current trees with different leafs. These leafs are computes by a function returning scalar values. More...
 
function
start_index = 
traverse_start ()
 Start iterator for a full traverse of the DataTree. More...
 
function
next_index = 
traverse_next (this_index)
 iterator for a full traverse of the DataTree. More...
 
function
description = 
get_active_leaf_description (IModel model, ids)
 returns an enumeration of all leaves' basepath index vectors with a description of their parents. More...
 
function
description = 
get_leaf_description (ids, mu_cube, tslice)
 returns an enumeration of all leaves' basepath index vectors with a description of their parents. More...
 
function tstop = index_valid_till (index)
 Returns the last valid time step index of a time slice. More...
 
function INode data = get_by_description (id, mu, nt)
 A combination of get_index() and get() More...
 
function
active_leaf_index = 
get_active_leaf_index (IModel model, id)
 retuns the leaf element index for the current IDetailedModel configuration. More...
 
function DataTree.LeafNode
active_leaf = 
get_active_leaf (IModel model, id)
 retuns the leaf element for the current IDetailedModel configuration. More...
 
function  display (fn, basepath, name)
 overwrites the standard display method for DataTree objects More...
 
function lines = disp_node (basepath, fn)
 returns a cell array of strings with information on the node. More...
 
- Public Member Functions inherited from DataTree.ILeafNode
function
children = 
length ()
 Returns the number of children of the node. More...
 
function index = get_index (dummy2, dummy3, dummy)
 Obtains the leaf index vector that best fits the child description given by the three arguments. More...
 
function this = set (dummy2,DataTree.INode value)
 Sets a child at the given path in the tree hierarchy. More...
 
function data = get (index)
 Access to a child of the current node. More...
 
function DataTree.ILeafNode node = get_active_leaf (DataTree.IModel model, id)
 retuns the leaf element for the current IDetailedModel configuration. More...
 
function tree = create_tree (creator, ids, mu_cube, tslice, basepath)
 Creates a new tree from a subtree specified by ids, parameter and time index regions. More...
 

Public Attributes

 pdeg = 3
 
 dimrange = 1
 
 ndofs
 
 ndofs_per_element = 4
 
 grid
 
 basis_weight_matrix
 
 dofs_lcoord
 
 dofs_edges_llcoord
 
 l2_inner_product_matrix
 
 h10_inner_product_matrix
 
 dof_ids_local
 
 detDF
 
- Public Attributes inherited from Fem.IFemInfo
 pdeg
 polynomial degree More...
 
 dimrange
 dimension of range space More...
 
 ndofs
 number of DOFs More...
 
 ndofs_per_element
 number of DOFs per grid element More...
 
 dof_ids_local
 a (dimrange x number of scalar basis functions) matrix More...
 
gridbase grid
 grid More...
 
 detDF
 determinant of reference mapping More...
 

Constructor & Destructor Documentation

Fem.Lagrange.BubbleInfo.BubbleInfo (   unused1,
gridbase  grid 
)

constructor

Parameters
unused1Marked as "~" in original m-file.
gridan object
Required fields of grid:
  • nvertices —  number vertices
  • nelements —  number of elements

Definition at line 79 of file BubbleInfo.m.

Here is the call graph for this function:

Member Function Documentation

function obj2 = Fem.Lagrange.BubbleInfo.copy ( )

copy constructor

Return values
obj2obj2

Definition at line 128 of file BubbleInfo.m.

function res = Fem.Lagrange.BubbleInfo.evaluate_basis (   lcoord)
virtual

evaluation of all basis functions in local coordinate

Parameters
lcoordlcoord
Return values
resres

Implements Fem.IFemInfo.

Definition at line 180 of file BubbleInfo.m.

function res = Fem.Lagrange.BubbleInfo.evaluate_basis_function (   lcoord,
  i 
)
virtual

evaluation of i-th basis function in local coordinate

Parameters
lcoordlcoord
ii
Return values
resres

Implements Fem.IFemInfo.

Definition at line 207 of file BubbleInfo.m.

Here is the caller graph for this function:

function res = Fem.Lagrange.BubbleInfo.evaluate_basis_function_derivative (   lcoord,
  i 
)
virtual

evaluation of the gradient of i-th basis function in local coordinate

Parameters
lcoordlcoord
ii
Return values
resres

Implements Fem.IFemInfo.

Definition at line 221 of file BubbleInfo.m.

function res = Fem.Lagrange.BubbleInfo.evaluate_scalar_basis_derivative (   lcoord,
  unused1 
)
virtual

evaluation of the gradient of a scalar basis in local coordinate

Parameters
lcoordlcoord
unused1Marked as "~" in original m-file.
Return values
resres

Implements Fem.IFemInfo.

Definition at line 193 of file BubbleInfo.m.

function res = Fem.Lagrange.BubbleInfo.get_dof_ids_global (   unused1)
virtual

returns global dof ids belonging to one component (indices into DOF-vector)

Parameters
unused1Marked as "~" in original m-file.
Return values
resres

Implements Fem.IFemInfo.

Definition at line 166 of file BubbleInfo.m.

function res = Fem.Lagrange.BubbleInfo.get_global_dof_index (   einds,
  gids 
)
virtual

returns entries of global-dof-map for several elements and several local dof ids

Parameters
eindseinds
gidsgids
Return values
resres

Implements Fem.IFemInfo.

Definition at line 149 of file BubbleInfo.m.

Here is the caller graph for this function:

function df = Fem.Lagrange.BubbleInfo.interpol_local (   func,
  params 
)
virtual

interpolating a given analytical function input:

  • func: function which can be evaluated at @(grid, elinds, lcoord, params)
Parameters
funcfunc
paramsparams
Return values
dfdf

Implements Fem.IFemInfo.

Definition at line 236 of file BubbleInfo.m.

Here is the call graph for this function:

Member Data Documentation

Fem.Lagrange.BubbleInfo.detDF
Note
[readonly]

Definition at line 73 of file BubbleInfo.m.


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