PolyFEM
|
Functions | |
sqr (a) | |
trunc_acos (x) | |
eigs_2d (mat) | |
eigs_3d (mat) | |
parse_args () | |
Variables | |
args = parse_args() | |
list | dims = [2, 3] |
str | cpp = "#include <polyfem/autogen/auto_eigs.hpp>\n\n\n" |
str | hpp = "#pragma once\n\n#include <Eigen/Dense>\n\n" |
lambdaa = Symbol('lambda', real=True) | |
M = zeros(dim, dim) | |
real | |
lambdas = eigs_2d(M) | |
c99 = pretty_print.C99_print(lambdas) | |
str | signature = "template<typename T>\nvoid eigs_" + str(dim) + "d(const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, 0, 3, 3> &m, " |
path = os.path.abspath(args.output) | |
eigs.eigs_3d | ( | mat | ) |
Definition at line 37 of file eigs.py.
References sqr(), and trunc_acos().
eigs.sqr | ( | a | ) |
eigs.trunc_acos | ( | x | ) |
eigs.args = parse_args() |
eigs.c99 = pretty_print.C99_print(lambdas) |
str eigs.cpp = "#include <polyfem/autogen/auto_eigs.hpp>\n\n\n" |