t8  UNKNOWN
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
Functions
t8_dhex_bits.h File Reference

Definitions of hex-specific functions. More...

#include <t8_element.h>
#include <t8_schemes/t8_default/t8_default_hex/t8_dhex.h>

Go to the source code of this file.

Functions

void t8_dhex_compute_reference_coords (const t8_dhex_t *elem, const double *ref_coords, const size_t num_coords, double *out_coords)
 Convert points in the reference space of a hex element to points in the reference space of the tree (level 0) embedded in \( [0,1]^3 \). More...
 

Detailed Description

Definitions of hex-specific functions.

Function Documentation

◆ t8_dhex_compute_reference_coords()

void t8_dhex_compute_reference_coords ( const t8_dhex_t elem,
const double *  ref_coords,
const size_t  num_coords,
double *  out_coords 
)

Convert points in the reference space of a hex element to points in the reference space of the tree (level 0) embedded in \( [0,1]^3 \).

Parameters
[in]elemInput hex.
[in]ref_coordsThe reference coordinates in the hex (num_coords times \( [0,1]^3 \))
[in]num_coordsNumber of coordinates to evaluate
[out]out_coordsAn array of num_coords x 3 x double that will be filled with the reference coordinates of the points on the hex.