Abstract class for implementing finite elements. Fem info classes implementing this interface are compatible with Fem.DiscFunc.
Definition at line 18 of file IFemInfo.m.
Public Member Functions | |
virtual function | evaluate_basis (lcoord) |
evaluation of all basis functions in local coordinate More... | |
virtual function | evaluate_scalar_basis_derivative (lcoord, ncomp) |
evaluation of the gradient of a scalar basis in local coordinate More... | |
virtual function | evaluate_basis_function (lcoord, i) |
evaluation of i-th basis function in local coordinate More... | |
virtual function | evaluate_basis_function_derivative (lcoord, i) |
evaluation of the gradient of i-th basis function in local coordinate More... | |
virtual function | get_global_dof_index (einds, gids) |
returns entries of global-dof-map for several elements and several local dof ids More... | |
virtual function | get_dof_ids_global (ncomp) |
returns global dof ids belonging to one component (indices into DOF-vector) More... | |
virtual function | 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 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 INode data = | get (index) |
Access to a child of the current node. More... | |
virtual function index = | get_index (id, mu, nt) |
Obtains the leaf index vector that best fits the child description given by the three arguments. More... | |
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
children = | length () |
Returns the number of children of the node. 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 Attributes | |
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... | |
|
pure virtual |
evaluation of all basis functions in local coordinate
lcoord | lcoord |
Implemented in Fem.CompositeFunctionSpace, Fem.Lagrange.BubbleInfo, and Fem.Lagrange.DefaultInfo.
|
pure virtual |
evaluation of i-th basis function in local coordinate
lcoord | lcoord |
i | i |
Implemented in Fem.CompositeFunctionSpace, Fem.Lagrange.BubbleInfo, and Fem.Lagrange.DefaultInfo.
|
pure virtual |
evaluation of the gradient of i-th basis function in local coordinate
lcoord | lcoord |
i | i |
Implemented in Fem.CompositeFunctionSpace, Fem.Lagrange.BubbleInfo, and Fem.Lagrange.DefaultInfo.
|
pure virtual |
evaluation of the gradient of a scalar basis in local coordinate
lcoord | lcoord |
ncomp | ncomp |
Implemented in Fem.CompositeFunctionSpace, Fem.Lagrange.BubbleInfo, and Fem.Lagrange.DefaultInfo.
|
pure virtual |
returns global dof ids belonging to one component (indices into DOF-vector)
ncomp | ncomp |
Implemented in Fem.CompositeFunctionSpace, Fem.Lagrange.DefaultInfo, and Fem.Lagrange.BubbleInfo.
|
pure virtual |
returns entries of global-dof-map for several elements and several local dof ids
einds | einds |
gids | gids |
Implemented in Fem.Lagrange.BubbleInfo.
function df = Fem.IFemInfo.interpol_global | ( | func, | |
params | |||
) |
interpolates a given analytical function that can be evaluated at (glob, params)
func | func |
params | params |
df | df |
Definition at line 197 of file IFemInfo.m.
|
pure virtual |
returns an instance of Fem.DiscFunc which interpolates the given analytical function, that can be evaluated at (grid,elinds,lcoord,params)
func | func |
params | params |
Implemented in Fem.CompositeFunctionSpace, Fem.Lagrange.BubbleInfo, and Fem.Lagrange.DefaultInfo.
Fem.IFemInfo.detDF |
determinant of reference mapping
SetAccess = Private, GetAccess = Public
Definition at line 106 of file IFemInfo.m.
Fem.IFemInfo.dimrange |
dimension of range space
SetAccess = Private, GetAccess = Public
Definition at line 46 of file IFemInfo.m.
Fem.IFemInfo.dof_ids_local |
a (dimrange x number of scalar basis functions) matrix
SetAccess = Private, GetAccess = Public
Definition at line 82 of file IFemInfo.m.
Fem.IFemInfo.grid |
grid
SetAccess = Private, GetAccess = Public
Definition at line 94 of file IFemInfo.m.
Fem.IFemInfo.ndofs |
number of DOFs
SetAccess = Private, GetAccess = Public
Definition at line 58 of file IFemInfo.m.
Fem.IFemInfo.ndofs_per_element |
number of DOFs per grid element
SetAccess = Private, GetAccess = Public
Definition at line 70 of file IFemInfo.m.
Fem.IFemInfo.pdeg |
polynomial degree
SetAccess = Private, GetAccess = Public
Definition at line 34 of file IFemInfo.m.