|
PolyFEM
|
#include <Jacobian.hpp>
Public Member Functions | |
| Tree () | |
| Tree (const Tree &T) | |
| Tree | operator= (const Tree &T) |
| bool | merge (const Tree &T, int max_depth=2) |
| bool | has_children () const |
| int | n_children () const |
| int | depth () const |
| int | n_leaves () const |
| Tree & | child (int i) |
| const Tree & | child (int i) const |
| void | add_children (int n) |
Private Attributes | |
| std::vector< std::unique_ptr< Tree > > | children |
Friends | |
| std::ostream & | operator<< (std::ostream &ost, const Tree &T) |
Definition at line 9 of file Jacobian.hpp.
|
inline |
Definition at line 12 of file Jacobian.hpp.
|
inline |
Definition at line 13 of file Jacobian.hpp.
References children.
|
inline |
Definition at line 86 of file Jacobian.hpp.
References children.
Referenced by merge().
|
inline |
Definition at line 84 of file Jacobian.hpp.
References children.
Referenced by depth(), merge(), and n_leaves().
|
inline |
Definition at line 85 of file Jacobian.hpp.
References children.
|
inline |
Definition at line 66 of file Jacobian.hpp.
References child(), depth(), has_children(), and n_children().
Referenced by depth().
|
inline |
Definition at line 64 of file Jacobian.hpp.
References children.
Referenced by depth(), merge(), n_leaves(), and operator=().
|
inline |
Definition at line 34 of file Jacobian.hpp.
References add_children(), child(), has_children(), merge(), and n_children().
Referenced by merge().
|
inline |
Definition at line 65 of file Jacobian.hpp.
References children.
Referenced by depth(), merge(), and n_leaves().
|
inline |
Definition at line 75 of file Jacobian.hpp.
References child(), has_children(), n_children(), and n_leaves().
Referenced by n_leaves().
Definition at line 21 of file Jacobian.hpp.
References children, and has_children().
|
friend |
Definition at line 51 of file Jacobian.hpp.
|
private |
Definition at line 93 of file Jacobian.hpp.
Referenced by add_children(), child(), child(), has_children(), n_children(), operator=(), and Tree().