star-uvm

Spatial structuring of unstructured volumetric meshes
git clone git://git.meso-star.fr/star-uvm.git
Log | Files | Refs | README | LICENSE

commit 0fb2cca41450262c361b5fd5c7db7338d15a4138
parent add4aa108e1504558d7e7362d6c3dcb2b640d763
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 19 Oct 2020 15:44:18 +0200

Fix indentation

Diffstat:
Msrc/suvm.h | 30+++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/suvm.h b/src/suvm.h @@ -58,25 +58,25 @@ static const struct suvm_primitive SUVM_PRIMITIVE_NULL = SUVM_PRIMITIVE_NULL__; #define SUVM_PRIMITIVE_NONE(Prim) ((Prim)->iprim == SIZE_MAX) struct suvm_tetrahedral_mesh_args { - size_t ntetrahedra; /* #tetrahedra */ - size_t nvertices; /* #vertices */ + size_t ntetrahedra; /* #tetrahedra */ + size_t nvertices; /* #vertices */ - /* Each tetrahedron has to list the bottom triangle in conterclockwise order, - * and then the top vertex. */ - void (*get_indices)(const size_t itetra, size_t ids[4], void* ctx); - void (*get_position)(const size_t ivert, double pos[3], void* ctx); + /* Each tetrahedron has to list the bottom triangle in counterclockwise order, + * and then the top vertex. */ + void (*get_indices)(const size_t itetra, size_t ids[4], void* ctx); + void (*get_position)(const size_t ivert, double pos[3], void* ctx); - /* Per tetrahedron/vertex data. SUVM_DATA_NULL <=> no data */ - struct suvm_data tetrahedron_data; - struct suvm_data vertex_data; + /* Per tetrahedron/vertex data. SUVM_DATA_NULL <=> no data */ + struct suvm_data tetrahedron_data; + struct suvm_data vertex_data; - /* Define whether tetrahedron normals are precomputed or not. When - * precomputed, the normals of each tetrahedron facet are explicitly stored - * and thus increase the memory footprint but speed up accessors that use - * them (e.g. suvm_volume_at). */ - int precompute_normals; + /* Define whether tetrahedron normals are precomputed or not. When + * precomputed, the normals of each tetrahedron facet are explicitly stored + * and thus increase the memory footprint but speed up accessors that use + * them (e.g. suvm_volume_at). */ + int precompute_normals; - void* context; /* Client data set as the last param of the callbacks */ + void* context; /* Client data set as the last param of the callbacks */ }; static const struct suvm_tetrahedral_mesh_args SUVM_TETRAHEDRAL_MESH_ARGS_NULL;