WARPXM v1.10.0
Loading...
Searching...
No Matches
line_basis.LineBasis Class Reference
Inheritance diagram for line_basis.LineBasis:
simplex_basis.Basis

Public Member Functions

def __init__ (self, order)
 
def center (self)
 
def volume (self)
 
def num_faces (self)
 
def num_dims (self)
 
def num_face_nodes (self)
 
def num_internal_nodes (self)
 
def identify_face_nodes (self)
 
def identify_orientations (self)
 
def face_gq_node_sets (self)
 
def num_nodes_per_subelement (self)
 
def tesselate_subelements (self)
 
def internal_flux_arrays (self)
 
def derivative_arrays (self)
 
def plot_basis (self, file)
 
def plot_collocation_nodes (self, ax)
 
def plot_optimal_gaussian_quad_nodes (self, ax)
 
def plot_positivity_nodes (self, ax)
 
def plot_lagrange_polynomials (self, ax)
 
def plot_orthogonal_polynomials (self, ax)
 
- Public Member Functions inherited from simplex_basis.Basis
def __init__ (self, order, orthogonal_polynomials, monomials, collocation_nodes, exact_quadrature_rule, face_quadrature_rule, positivity_preserving_extra_quad_nodes)
 
def num_nodes (self)
 
def cfl_limit (self)
 
def ortho_collocation_vandermonde (self, sym='p')
 
def ortho_vandermonde (self, points, sym='p')
 
def V_inv (self)
 
def ortho_optimal_gq_vandermonde (self, sym='p')
 
def ortho_exact_quad_node_vandermonde (self, sym='p')
 
def lagrange_optimal_gq_vandermonde (self)
 
def monomial_collocation_vandermonde (self)
 
def lagrange_mass_matrix (self)
 
def M_inv (self)
 
def lagrange_advection_matrix (self, sym)
 Computes the "advection" matrix for the Lagrange polynomials: \int p_i(x) d/dr p_j(x) \, dx, where the integral is taken over the simplex element.
 
def lift_matrices (self)
 
def element_average (self)
 
def element_center (self)
 
def evalute_at_positivity_preserving_extra_quad_nodes (self)
 
def optimal_gq_source_mass_matrix (self)
 
def lagrange_interpolating_polynomials (self)
 Return a list of polynomial objects which can be used to evaluate the Lagrange interpolating polynomials.
 
def plot_positivity_nodes (self, ax)
 
def save_figures (self, file, figs)
 

Static Public Member Functions

def prepare_node_plot (ax, title)
 

Public Attributes

 kind
 
 optimal_gaussian_quadrature_rule
 
 order
 
- Public Attributes inherited from simplex_basis.Basis
 order
 
 max_degree
 
 orthogonal_polynomials
 
 collocation_nodes
 
 monomials
 
 exact_quadrature_rule
 
 face_quadrature_rule
 
 positivity_preserving_extra_quad_nodes
 

Constructor & Destructor Documentation

◆ __init__()

def line_basis.LineBasis.__init__ (   self,
  order 
)

Reimplemented from simplex_basis.Basis.

Member Function Documentation

◆ center()

def line_basis.LineBasis.center (   self)

◆ derivative_arrays()

def line_basis.LineBasis.derivative_arrays (   self)

◆ face_gq_node_sets()

def line_basis.LineBasis.face_gq_node_sets (   self)

◆ identify_face_nodes()

def line_basis.LineBasis.identify_face_nodes (   self)

◆ identify_orientations()

def line_basis.LineBasis.identify_orientations (   self)

◆ internal_flux_arrays()

def line_basis.LineBasis.internal_flux_arrays (   self)

◆ num_dims()

def line_basis.LineBasis.num_dims (   self)

◆ num_face_nodes()

def line_basis.LineBasis.num_face_nodes (   self)

◆ num_faces()

def line_basis.LineBasis.num_faces (   self)

◆ num_internal_nodes()

def line_basis.LineBasis.num_internal_nodes (   self)

◆ num_nodes_per_subelement()

def line_basis.LineBasis.num_nodes_per_subelement (   self)

◆ plot_basis()

def line_basis.LineBasis.plot_basis (   self,
  file 
)

◆ plot_collocation_nodes()

def line_basis.LineBasis.plot_collocation_nodes (   self,
  ax 
)

◆ plot_lagrange_polynomials()

def line_basis.LineBasis.plot_lagrange_polynomials (   self,
  ax 
)

◆ plot_optimal_gaussian_quad_nodes()

def line_basis.LineBasis.plot_optimal_gaussian_quad_nodes (   self,
  ax 
)

◆ plot_orthogonal_polynomials()

def line_basis.LineBasis.plot_orthogonal_polynomials (   self,
  ax 
)

◆ plot_positivity_nodes()

def line_basis.LineBasis.plot_positivity_nodes (   self,
  ax 
)

Reimplemented from simplex_basis.Basis.

◆ prepare_node_plot()

def line_basis.LineBasis.prepare_node_plot (   ax,
  title 
)
static

◆ tesselate_subelements()

def line_basis.LineBasis.tesselate_subelements (   self)

◆ volume()

def line_basis.LineBasis.volume (   self)

Member Data Documentation

◆ kind

line_basis.LineBasis.kind

◆ optimal_gaussian_quadrature_rule

line_basis.LineBasis.optimal_gaussian_quadrature_rule

◆ order

line_basis.LineBasis.order

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