source: molecuilder/src/ellipsoid.hpp@ 0e2190

Last change on this file since 0e2190 was a048fa, checked in by Frederik Heber <heber@…>, 16 years ago

fixed indentation from tabs to two spaces.

  • Property mode set to 100644
File size: 976 bytes
Line 
1/*
2 * ellipsoid.hpp
3 *
4 * Created on: Jan 20, 2009
5 * Author: heber
6 */
7
8#ifndef ELLIPSOID_HPP_
9#define ELLIPSOID_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16#include <cstdlib>
17
18#include "boundary.hpp"
19#include "vector.hpp"
20
21double SquaredDistanceToEllipsoid(Vector &x, Vector &EllipsoidCenter, double *EllipsoidLength, double *EllipsoidAngle);
22double SumSquaredDistance (const gsl_vector * x, void * params);
23bool FitPointSetToEllipsoid(ofstream *out, Vector *set, int N, Vector *EllipsoidCenter, double *EllipsoidLength, double *EllipsoidAngle);
24void PickRandomPointSet(ofstream *out, class Tesselation *T, Vector *&x, size_t PointsToPick);
25void PickRandomNeighbouredPointSet(ofstream *out, class Tesselation *T, class LinkedCell *LC, Vector *&x, size_t PointsToPick);
26void FindDistributionOfEllipsoids(ofstream *out, class Tesselation *T, class LinkedCell *LCList, int N, int number, const char *filename);
27
28#endif /* ELLIPSOID_HPP_ */
Note: See TracBrowser for help on using the repository browser.