PolyFEM
Loading...
Searching...
No Matches
p_bases.py File Reference

Go to the source code of this file.

Classes

class  p_bases.ReferenceSimplex
 
class  p_bases.Lagrange
 

Namespaces

namespace  p_bases
 

Functions

 p_bases.bernstein_space (order, nsd)
 
 p_bases.create_point_set (order, nsd)
 
 p_bases.create_matrix (equations, coeffs)
 
 p_bases.parse_args ()
 

Variables

 p_bases.x
 
 p_bases.y
 
 p_bases.z
 
 p_bases.args = parse_args()
 
list p_bases.dims = [2, 3]
 
list p_bases.orders = [0, 1, 2, 3, 4]
 
str p_bases.cpp = "#include \"auto_p_bases.hpp\"\n\n\n"
 
str p_bases.hpp = "#pragma once\n\n#include <Eigen/Dense>\n#include \"p_n_bases.hpp\"\n#include <cassert>\n\n"
 
str p_bases.suffix = 2 else "_3d"
 
str p_bases.unique_nodes
 
str p_bases.unique_fun
 
str p_bases.dunique_fun
 
list p_bases.vertices = [[0, 0], [1, 0], [0, 1]]
 
 p_bases.nbf
 
 p_bases.N
 
 p_bases.points
 
 p_bases.fe = Lagrange(dim, order)
 
 p_bases.current_indices = list(range(0, len(fe.points)))
 
list p_bases.indices = []
 
list p_bases.vv = vertices[i]
 
int p_bases.norm = 0
 
 p_bases.nn = max(0, order - 2)
 
 p_bases.npts = int(nn * (nn + 1) / 2)
 
list p_bases.tmp = []
 
 p_bases.reverse
 
str p_bases.nodes
 
str p_bases.func
 
str p_bases.dfunc
 
str p_bases.default_base = 3 else "p_n_basis_value_2d(p, local_index, uv, val);"
 
str p_bases.default_dbase = 3 else "p_n_basis_grad_value_2d(p, local_index, uv, val);"
 
str p_bases.default_nodes = 3 else "p_n_nodes_2d(p, val);"
 
str p_bases.base = "auto x=uv.col(0).array();\nauto y=uv.col(1).array();"
 
str p_bases.dbase = base
 
list p_bases.real_index = indices[i]
 
 p_bases.path = os.path.abspath(args.output)