| 
    t8
    UNKNOWN
    
   t8code is a C library to manage a forest of adaptive                           space-trees of general element classes in parallel. 
   | 
 
This header file provides a C interface for functions for the t8_geometry_with_vertices class. More...
#include <t8_cmesh.h>Go to the source code of this file.
Functions | |
| void | t8_cmesh_set_tree_vertices (t8_cmesh_t cmesh, const t8_gloidx_t gtree_id, const double *vertices, const int num_vertices) | 
| Set the vertex coordinates of a tree in the cmesh.  More... | |
This header file provides a C interface for functions for the t8_geometry_with_vertices class.
| void t8_cmesh_set_tree_vertices | ( | t8_cmesh_t | cmesh, | 
| const t8_gloidx_t | gtree_id, | ||
| const double * | vertices, | ||
| const int | num_vertices | ||
| ) | 
Set the vertex coordinates of a tree in the cmesh.
This is currently inefficient, since the vertices are duplicated for each tree. Eventually this function will be replaced by a more efficient one. It is not allowed to call this function after t8_cmesh_commit. The eclass of the tree has to be set before calling this function.
| [in,out] | cmesh | The cmesh to be updated. | 
| [in] | gtree_id | The global number of the tree. | 
| [in] | vertices | An array of 3 doubles per tree vertex. | 
| [in] | num_vertices | The number of verticess in vertices. Must match the number of corners of the tree. |