Package hedge :: Module element :: Class IntervalElement
[hide private]
[frames] | no frames]

Class IntervalElement

source code


An arbitrary-order polynomial finite interval element.

Coordinate systems used:

unit coordinates (r):

   ---[--------0--------]--->
      -1                1
Nested Classes [hide private]

Inherited from IntervalElementBase: geometry

Instance Methods [hide private]
 
__init__(self, order)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
nodes(self)
Generate warped nodes in unit coordinates (r,).
source code
 
equilateral_nodes(self)
Generate warped nodes in unit coordinates (r,).
source code
 
unit_nodes(self)
Generate warped nodes in unit coordinates (r,).
source code
 
basis_functions(self)
Get a sequence of functions that form a basis of the approximation space.
source code
 
grad_basis_functions(self)
Get the gradient functions of the basis_functions(), in the same order.
source code
 
dt_non_geometric_factor(self) source code
 
dt_geometric_factor(self, vertices, el) source code

Inherited from IntervalElementBase: face_mass_matrix, faces_for_node_tuple, get_submesh_indices, node_tuples

Inherited from SimplicialElement: equidistant_barycentric_nodes, equidistant_equilateral_nodes, equidistant_unit_nodes, face_count, face_indices, face_node_count, generate_mode_identifiers, node_count, vertex_indices

Inherited from Element: differentiation_matrices, find_diff_mat_permutation, grad_vandermonde, inverse_mass_matrix, lifting_matrix, mass_matrix, multi_face_mass_matrix, vandermonde

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods [hide private]

Inherited from IntervalElementBase: get_face_index_shuffle_to_match

Class Variables [hide private]

Inherited from IntervalElementBase: dimensions, has_local_jacobians

Properties [hide private]

Inherited from SimplicialElement: has_facial_nodes

Inherited from object: __class__

Method Details [hide private]

__init__(self, order)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

unit_nodes(self)

source code 

Generate warped nodes in unit coordinates (r,).

Overrides: SimplicialElement.unit_nodes

basis_functions(self)

source code 

Get a sequence of functions that form a basis of the approximation space.

The approximation space is spanned by the polynomials::

 r**i for i <= N
Decorators:
  • @memoize_method
Overrides: Element.basis_functions

grad_basis_functions(self)

source code 

Get the gradient functions of the basis_functions(), in the same order.

Overrides: Element.grad_basis_functions

dt_non_geometric_factor(self)

source code 
Overrides: SimplicialElement.dt_non_geometric_factor