PolyFEM
Loading...
Searching...
No Matches
eigs Namespace Reference

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)
 

Function Documentation

◆ eigs_2d()

eigs.eigs_2d (   mat)

Definition at line 20 of file eigs.py.

◆ eigs_3d()

eigs.eigs_3d (   mat)

Definition at line 37 of file eigs.py.

References sqr(), and trunc_acos().

Here is the call graph for this function:

◆ parse_args()

eigs.parse_args ( )

Definition at line 69 of file eigs.py.

◆ sqr()

eigs.sqr (   a)

Definition at line 11 of file eigs.py.

Referenced by eigs_3d().

Here is the caller graph for this function:

◆ trunc_acos()

eigs.trunc_acos (   x)

Definition at line 15 of file eigs.py.

Referenced by eigs_3d().

Here is the caller graph for this function:

Variable Documentation

◆ args

eigs.args = parse_args()

Definition at line 78 of file eigs.py.

◆ c99

Definition at line 110 of file eigs.py.

◆ cpp

str eigs.cpp = "#include <polyfem/autogen/auto_eigs.hpp>\n\n\n"

Definition at line 82 of file eigs.py.

◆ dims

list eigs.dims = [2, 3]

Definition at line 80 of file eigs.py.

◆ hpp

str eigs.hpp = "#pragma once\n\n#include <Eigen/Dense>\n\n"

Definition at line 83 of file eigs.py.

◆ lambdaa

eigs.lambdaa = Symbol('lambda', real=True)

Definition at line 89 of file eigs.py.

◆ lambdas

eigs.lambdas = eigs_2d(M)

Definition at line 104 of file eigs.py.

◆ M

eigs.M = zeros(dim, dim)

Definition at line 94 of file eigs.py.

◆ path

eigs.path = os.path.abspath(args.output)

Definition at line 128 of file eigs.py.

◆ real

eigs.real

Definition at line 99 of file eigs.py.

◆ signature

str eigs.signature = "template<typename T>\nvoid eigs_" + str(dim) + "d(const Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, 0, 3, 3> &m, "

Definition at line 117 of file eigs.py.