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 7 of file Jacobian.hpp.
|
inline |
Definition at line 10 of file Jacobian.hpp.
|
inline |
Definition at line 11 of file Jacobian.hpp.
References children.
|
inline |
Definition at line 79 of file Jacobian.hpp.
References children.
Referenced by merge().
|
inline |
Definition at line 77 of file Jacobian.hpp.
References children.
Referenced by depth(), merge(), and n_leaves().
|
inline |
Definition at line 78 of file Jacobian.hpp.
References children.
|
inline |
Definition at line 61 of file Jacobian.hpp.
References child(), depth(), has_children(), and n_children().
Referenced by depth().
|
inline |
Definition at line 59 of file Jacobian.hpp.
References children.
Referenced by depth(), merge(), n_leaves(), and operator=().
|
inline |
Definition at line 30 of file Jacobian.hpp.
References add_children(), child(), has_children(), merge(), and n_children().
Referenced by merge().
|
inline |
Definition at line 60 of file Jacobian.hpp.
References children.
Referenced by depth(), merge(), and n_leaves().
|
inline |
Definition at line 69 of file Jacobian.hpp.
References child(), has_children(), n_children(), and n_leaves().
Referenced by n_leaves().
Definition at line 18 of file Jacobian.hpp.
References children, and has_children().
|
friend |
Definition at line 46 of file Jacobian.hpp.
|
private |
Definition at line 85 of file Jacobian.hpp.
Referenced by add_children(), child(), child(), has_children(), n_children(), operator=(), and Tree().