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

Detailed Description

scalar Lagrange FE functions on triangular grid

Definition at line 19 of file DefaultInfo.m.

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

Public Member Functions

 DefaultInfo (pdeg,gridbase grid)
 
function obj2 = copy ()
 copy constructor 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 res = get_global_dof_index (varargin)
 
function res = get_dof_ids_global (unused1)
 returns global dof ids belonging to one component (indices into DOF-vector) More...
 
function df = interpol_local (func, params)
 returns an instance of Fem.DiscFunc which interpolates the given analytical function, that can be evaluated at (grid,elinds,lcoord,params) More...
 
function p = plot_dofmap (params)
 
- Public Member Functions inherited from Fem.IFemInfo
virtual function  get_global_dof_index (einds, gids)
 returns entries of global-dof-map for several elements and several local dof ids More...
 
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
 
 dimrange = 1
 
 ndofs
 
 ndofs_per_element
 
 grid
 
 basis_weight_matrix
 
 global_dof_index
 index vector of global DOFs More...
 
 dofs_lcoord
 
 dofs_edges_llcoord
 
 l2_inner_product_matrix
 weight matrix for \(L^2\) inner product More...
 
 h10_inner_product_matrix
 weight matrix for \(H^1_0\) inner product More...
 
 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...
 

Member Function Documentation

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

copy constructor

Return values
obj2obj2

Definition at line 130 of file DefaultInfo.m.

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

evaluation of all basis functions in local coordinate

Parameters
lcoordlcoord

Implements Fem.IFemInfo.

Definition at line 151 of file DefaultInfo.m.

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

evaluation of i-th basis function in local coordinate

Parameters
lcoordlcoord
ii

Implements Fem.IFemInfo.

Definition at line 161 of file DefaultInfo.m.

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

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

Parameters
lcoordlcoord
ii

Implements Fem.IFemInfo.

Definition at line 166 of file DefaultInfo.m.

function res = Fem.Lagrange.DefaultInfo.evaluate_scalar_basis_derivative (   lcoord,
  ncomp 
)
virtual

evaluation of the gradient of a scalar basis in local coordinate

Parameters
lcoordlcoord
ncompncomp

Implements Fem.IFemInfo.

Definition at line 156 of file DefaultInfo.m.

function res = Fem.Lagrange.DefaultInfo.get_dof_ids_global (   ncomp)
virtual

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

Parameters
ncompncomp

Implements Fem.IFemInfo.

Definition at line 180 of file DefaultInfo.m.

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

returns an instance of Fem.DiscFunc which interpolates the given analytical function, that can be evaluated at (grid,elinds,lcoord,params)

Parameters
funcfunc
paramsparams

Implements Fem.IFemInfo.

Definition at line 185 of file DefaultInfo.m.

Member Data Documentation

Fem.Lagrange.DefaultInfo.detDF
Note
[readonly]

Definition at line 90 of file DefaultInfo.m.

Fem.Lagrange.DefaultInfo.global_dof_index

index vector of global DOFs

Note
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 46 of file DefaultInfo.m.

Fem.Lagrange.DefaultInfo.h10_inner_product_matrix

weight matrix for \(H^1_0\) inner product

Note
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 73 of file DefaultInfo.m.

Fem.Lagrange.DefaultInfo.l2_inner_product_matrix

weight matrix for \(L^2\) inner product

Note
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 62 of file DefaultInfo.m.


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