Carmen Code
 All Classes Files Functions Variables Macros Pages
Functions
RefreshTree.cpp File Reference

Refresh the tree structure. More...

#include "Carmen.h"
Include dependency graph for RefreshTree.cpp:

Functions

void RefreshTree (Node *Root)
 Refresh the tree structure, i.e. compute the cell-averages of the internal nodes by projection and those of the virtual leaves by prediction. The root node is Root. Only for multiresolution computations. More...
 

Detailed Description

Refresh the tree structure.

Function Documentation

void RefreshTree ( Node Root)

Refresh the tree structure, i.e. compute the cell-averages of the internal nodes by projection and those of the virtual leaves by prediction. The root node is Root. Only for multiresolution computations.

Parameters
RootRoot
Returns
void
23 {
24  // --- Project : compute cell-average values in all nodes ---
25  Root->project();
26 
27  // --- Fill virtual children with predicted values ---
28  Root->fillVirtualChildren();
29 }
void fillVirtualChildren()
Fills the cell-average values of every virtual leaf with values predicted from its parent and uncles...
Definition: Node.cpp:624
Cell * project()
Computes the cell-average values of all nodes that are not leaves by projection from the cell-average...
Definition: Node.cpp:661

Here is the caller graph for this function: