PolyFEM
|
Classes | |
class | Lagrange |
class | ReferenceSimplex |
Functions | |
create_point_set (order, nsd) | |
parse_args () | |
Variables | |
x | |
y | |
z | |
args = parse_args() | |
path = os.path.abspath(args.output) | |
list | dims = [2, 3] |
list | orders = [0, 1, 2, 3, -2] |
str | namev = f"auto_q_bases_{dim}d_val" |
str | namen = f"auto_q_bases_{dim}d_nodes" |
str | nameg = f"auto_q_bases_{dim}d_grad" |
str | cppv = f"#include \"{namev}.hpp\"\n\n\n" |
str | cppn = f"#include \"{namen}.hpp\"\n\n\n" |
str | cppg = f"#include \"{nameg}.hpp\"\n\n\n" |
str | eextern = "" |
str | hppv = "#pragma once\n\n#include <Eigen/Dense>\n#include <cassert>\n\n" |
str | hppn = "#pragma once\n\n#include <Eigen/Dense>\n#include <cassert>\n\n" |
str | hppg = "#pragma once\n\n#include <Eigen/Dense>\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], [1, 1], [0, 1]] |
nbf | |
N | |
points | |
tuple | tmp |
fe = Lagrange(dim, order) | |
current_indices = list(range(0, len(fe.points))) | |
list | indices = [] |
list | vv = vertices[i] |
int | norm = 0 |
nn = max(0, abs(order) - 1) | |
npts = int(nn * nn) | |
reverse | |
int | orderN = 0 else "m"+str(-order) |
str | nodes |
str | func |
str | dfunc |
str | base = "auto x=uv.col(0).array();\nauto y=uv.col(1).array();" |
str | dbase = base |
list | real_index = indices[i] |
str | tcppg = f"#include \"{nameg}.hpp\"\n\n\n" |
str | hpp = "#pragma once\n\n#include <Eigen/Dense>\n#include <cassert>\n\n" |
q_bases.create_point_set | ( | order, | |
nsd | |||
) |
Definition at line 38 of file q_bases.py.
Referenced by q_bases.Lagrange.compute_basis().
q_bases.parse_args | ( | ) |
Definition at line 128 of file q_bases.py.
q_bases.args = parse_args() |
Definition at line 137 of file q_bases.py.
Definition at line 539 of file q_bases.py.
str q_bases.cppg = f"#include \"{nameg}.hpp\"\n\n\n" |
Definition at line 156 of file q_bases.py.
str q_bases.cppn = f"#include \"{namen}.hpp\"\n\n\n" |
Definition at line 152 of file q_bases.py.
str q_bases.cppv = f"#include \"{namev}.hpp\"\n\n\n" |
Definition at line 148 of file q_bases.py.
q_bases.current_indices = list(range(0, len(fe.points))) |
Definition at line 283 of file q_bases.py.
str q_bases.dbase = base |
Definition at line 543 of file q_bases.py.
str q_bases.dfunc |
Definition at line 526 of file q_bases.py.
list q_bases.dims = [2, 3] |
Definition at line 140 of file q_bases.py.
str q_bases.dunique_fun |
Definition at line 181 of file q_bases.py.
str q_bases.eextern = "" |
Definition at line 162 of file q_bases.py.
q_bases.fe = Lagrange(dim, order) |
Definition at line 281 of file q_bases.py.
str q_bases.func |
Definition at line 524 of file q_bases.py.
str q_bases.hpp = "#pragma once\n\n#include <Eigen/Dense>\n#include <cassert>\n\n" |
Definition at line 631 of file q_bases.py.
str q_bases.hppg = "#pragma once\n\n#include <Eigen/Dense>\n#include <cassert>\n\n" |
Definition at line 170 of file q_bases.py.
str q_bases.hppn = "#pragma once\n\n#include <Eigen/Dense>\n#include <cassert>\n\n" |
Definition at line 167 of file q_bases.py.
str q_bases.hppv = "#pragma once\n\n#include <Eigen/Dense>\n#include <cassert>\n\n" |
Definition at line 164 of file q_bases.py.
list q_bases.indices = [] |
Definition at line 284 of file q_bases.py.
q_bases.N |
Definition at line 207 of file q_bases.py.
str q_bases.nameg = f"auto_q_bases_{dim}d_grad" |
Definition at line 146 of file q_bases.py.
str q_bases.namen = f"auto_q_bases_{dim}d_nodes" |
Definition at line 145 of file q_bases.py.
str q_bases.namev = f"auto_q_bases_{dim}d_val" |
Definition at line 144 of file q_bases.py.
q_bases.nbf |
Definition at line 205 of file q_bases.py.
q_bases.nn = max(0, abs(order) - 1) |
Definition at line 433 of file q_bases.py.
str q_bases.nodes |
Definition at line 507 of file q_bases.py.
int q_bases.norm = 0 |
Definition at line 290 of file q_bases.py.
Definition at line 434 of file q_bases.py.
int q_bases.orderN = 0 else "m"+str(-order) |
Definition at line 505 of file q_bases.py.
list q_bases.orders = [0, 1, 2, 3, -2] |
Definition at line 141 of file q_bases.py.
q_bases.path = os.path.abspath(args.output) |
Definition at line 138 of file q_bases.py.
q_bases.points |
Definition at line 210 of file q_bases.py.
list q_bases.real_index = indices[i] |
Definition at line 554 of file q_bases.py.
q_bases.reverse |
Definition at line 446 of file q_bases.py.
str q_bases.suffix = 2 else "_3d" |
Definition at line 174 of file q_bases.py.
str q_bases.tcppg = f"#include \"{nameg}.hpp\"\n\n\n" |
Definition at line 611 of file q_bases.py.
list q_bases.tmp |
Definition at line 222 of file q_bases.py.
str q_bases.unique_fun |
Definition at line 179 of file q_bases.py.
str q_bases.unique_nodes |
Definition at line 176 of file q_bases.py.
list q_bases.vertices = [[0, 0], [1, 0], [1, 1], [0, 1]] |
Definition at line 195 of file q_bases.py.
list q_bases.vv = vertices[i] |
Definition at line 288 of file q_bases.py.
q_bases.x |
Definition at line 10 of file q_bases.py.
q_bases.y |
Definition at line 10 of file q_bases.py.
q_bases.z |
Definition at line 10 of file q_bases.py.