PolyFEM
|
Classes | |
class | Lagrange |
class | ReferenceSimplex |
Functions | |
bernstein_space (order, nsd) | |
create_point_set (order, nsd) | |
create_matrix (equations, coeffs) | |
parse_args () | |
Variables | |
x | |
y | |
z | |
args = parse_args() | |
list | dims = [2, 3] |
list | orders = [0, 1, 2, 3, 4] |
str | cpp = "#include \"auto_p_bases.hpp\"\n\n\n" |
str | hpp = "#pragma once\n\n#include <Eigen/Dense>\n#include \"p_n_bases.hpp\"\n#include <cassert>\n\n" |
str | suffix = 2 else "_3d" |
str | unique_nodes |
str | unique_fun |
str | dunique_fun |
list | vertices = [[0, 0], [1, 0], [0, 1]] |
nbf | |
N | |
points | |
fe = Lagrange(dim, order) | |
current_indices = list(range(0, len(fe.points))) | |
list | indices = [] |
list | vv = vertices[i] |
int | norm = 0 |
nn = max(0, order - 2) | |
npts = int(nn * (nn + 1) / 2) | |
list | tmp = [] |
reverse | |
str | nodes |
str | func |
str | dfunc |
str | default_base = 3 else "p_n_basis_value_2d(p, local_index, uv, val);" |
str | default_dbase = 3 else "p_n_basis_grad_value_2d(p, local_index, uv, val);" |
str | default_nodes = 3 else "p_n_nodes_2d(p, val);" |
str | base = "auto x=uv.col(0).array();\nauto y=uv.col(1).array();" |
str | dbase = base |
list | real_index = indices[i] |
path = os.path.abspath(args.output) | |
p_bases.bernstein_space | ( | order, | |
nsd | |||
) |
Definition at line 39 of file p_bases.py.
Referenced by p_bases.Lagrange.compute_basis().
p_bases.create_matrix | ( | equations, | |
coeffs | |||
) |
Definition at line 106 of file p_bases.py.
Referenced by p_bases.Lagrange.compute_basis().
p_bases.create_point_set | ( | order, | |
nsd | |||
) |
Definition at line 81 of file p_bases.py.
Referenced by p_bases.Lagrange.compute_basis().
p_bases.parse_args | ( | ) |
Definition at line 165 of file p_bases.py.
p_bases.args = parse_args() |
Definition at line 174 of file p_bases.py.
Definition at line 402 of file p_bases.py.
str p_bases.cpp = "#include \"auto_p_bases.hpp\"\n\n\n" |
Definition at line 181 of file p_bases.py.
p_bases.current_indices = list(range(0, len(fe.points))) |
Definition at line 231 of file p_bases.py.
str p_bases.dbase = base |
Definition at line 406 of file p_bases.py.
str p_bases.default_base = 3 else "p_n_basis_value_2d(p, local_index, uv, val);" |
Definition at line 398 of file p_bases.py.
str p_bases.default_dbase = 3 else "p_n_basis_grad_value_2d(p, local_index, uv, val);" |
Definition at line 399 of file p_bases.py.
str p_bases.default_nodes = 3 else "p_n_nodes_2d(p, val);" |
Definition at line 400 of file p_bases.py.
str p_bases.dfunc |
Definition at line 387 of file p_bases.py.
list p_bases.dims = [2, 3] |
Definition at line 176 of file p_bases.py.
str p_bases.dunique_fun |
Definition at line 197 of file p_bases.py.
p_bases.fe = Lagrange(dim, order) |
Definition at line 229 of file p_bases.py.
str p_bases.func |
Definition at line 385 of file p_bases.py.
str p_bases.hpp = "#pragma once\n\n#include <Eigen/Dense>\n#include \"p_n_bases.hpp\"\n#include <cassert>\n\n" |
Definition at line 185 of file p_bases.py.
list p_bases.indices = [] |
Definition at line 232 of file p_bases.py.
p_bases.N |
Definition at line 222 of file p_bases.py.
p_bases.nbf |
Definition at line 220 of file p_bases.py.
p_bases.nn = max(0, order - 2) |
Definition at line 315 of file p_bases.py.
str p_bases.nodes |
Definition at line 372 of file p_bases.py.
int p_bases.norm = 0 |
Definition at line 238 of file p_bases.py.
Definition at line 316 of file p_bases.py.
list p_bases.orders = [0, 1, 2, 3, 4] |
Definition at line 178 of file p_bases.py.
p_bases.path = os.path.abspath(args.output) |
Definition at line 456 of file p_bases.py.
p_bases.points |
Definition at line 225 of file p_bases.py.
list p_bases.real_index = indices[i] |
Definition at line 417 of file p_bases.py.
p_bases.reverse |
Definition at line 364 of file p_bases.py.
str p_bases.suffix = 2 else "_3d" |
Definition at line 190 of file p_bases.py.
list p_bases.tmp = [] |
Definition at line 339 of file p_bases.py.
str p_bases.unique_fun |
Definition at line 195 of file p_bases.py.
str p_bases.unique_nodes |
Definition at line 192 of file p_bases.py.
list p_bases.vertices = [[0, 0], [1, 0], [0, 1]] |
Definition at line 211 of file p_bases.py.
list p_bases.vv = vertices[i] |
Definition at line 236 of file p_bases.py.
p_bases.x |
Definition at line 11 of file p_bases.py.
p_bases.y |
Definition at line 11 of file p_bases.py.
p_bases.z |
Definition at line 11 of file p_bases.py.