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

Definitions of quad-specific functions. More...

#include <t8_element.h>
#include <t8_schemes/t8_default/t8_default_quad/t8_dquad.h>

Go to the source code of this file.

Functions

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

Detailed Description

Definitions of quad-specific functions.

Function Documentation

◆ t8_dquad_compute_reference_coords()

void t8_dquad_compute_reference_coords ( const t8_dquad_t elem,
const double *  ref_coords,
const size_t  num_coords,
double *  out_coords 
)

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

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