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 84 of file Jacobian.hpp.
References children.
Referenced by merge().
|
inline |
Definition at line 82 of file Jacobian.hpp.
References children.
Referenced by depth(), merge(), and n_leaves().
|
inline |
Definition at line 83 of file Jacobian.hpp.
References children.
|
inline |
Definition at line 64 of file Jacobian.hpp.
References child(), depth(), has_children(), and n_children().
Referenced by depth().
|
inline |
Definition at line 62 of file Jacobian.hpp.
References children.
Referenced by depth(), merge(), n_leaves(), and operator=().
|
inline |
Definition at line 32 of file Jacobian.hpp.
References add_children(), child(), has_children(), merge(), and n_children().
Referenced by merge().
|
inline |
Definition at line 63 of file Jacobian.hpp.
References children.
Referenced by depth(), merge(), and n_leaves().
|
inline |
Definition at line 73 of file Jacobian.hpp.
References child(), has_children(), n_children(), and n_leaves().
Referenced by n_leaves().
Definition at line 19 of file Jacobian.hpp.
References children, and has_children().
|
friend |
Definition at line 49 of file Jacobian.hpp.
|
private |
Definition at line 91 of file Jacobian.hpp.
Referenced by add_children(), child(), child(), has_children(), n_children(), operator=(), and Tree().