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

Remesh the mesh. More...

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

Functions

void Remesh (Node *Root)
 Remesh the tree structure after a time evolution. The root node is Root. Only for multiresolution computations. More...
 

Detailed Description

Remesh the mesh.

Function Documentation

void Remesh ( Node Root)

Remesh the tree structure after a time evolution. The root node is Root. Only for multiresolution computations.

Parameters
RootRoot
Returns
void
23 {
24  // --- Refresh tree structure ---
25 // RefreshTree(Root);
26 
27  // --- Check if tree is graded ---
28  if (debug) Root->checkGradedTree();
29 
30  // --- Adapt : depending on details, refine or combine ---
31  Root->adapt();
32 
33  // --- Check if tree is graded ---
34  if (debug) Root->checkGradedTree();
35 }
void checkGradedTree()
Checks if the tree is graded. If not, an error is emitted. Only for debugging.
Definition: Node.cpp:2630
int adapt()
Computes the details in the leaves and its parent nodes and, in function of the threshold Tolerance...
Definition: Node.cpp:691
bool debug
Definition: Parameters.cpp:142

Here is the caller graph for this function: