/********************************************************************************* * Copyright (c) 2017 * * Ahmed Eleliemy * * University of Basel, Switzerland * * All rights reserved. * * * * This program is free software; you can redistribute it and/or modify it * * under the terms of the license (GNU LGPL) which comes with this package. * *********************************************************************************/ #ifndef SRC_SPINLIB_SPINDATASTRUCTURES_H_ #define SRC_SPINLIB_SPINDATASTRUCTURES_H_ typedef struct MeshObject { //all members are parallel arrays //the mesh points double * dptrXPoints; double * dptrYPoints; double * dptrZPoints; // for each point there is a normal so size expected to be *3 double * dptrXNPoints; double * dptrYNPoints; double * dptrZNPoints; // double number of faces at each point int * facesPerPoint; int iPointCount; int iFaceCount; } MeshObject; #endif