Page MenuHomec4science

manifold_torus.h
No OneTemporary

File Metadata

Created
Mon, Jul 8, 04:02

manifold_torus.h

#ifndef LMP_MANIFOLD_TORUS_H
#define LMP_MANIFOLD_TORUS_H
#include "manifold.h"
namespace LAMMPS_NS {
namespace user_manifold {
class manifold_torus : public manifold {
public:
enum {NPARAMS=2};
manifold_torus( LAMMPS *, int, char ** );
~manifold_torus(){}
virtual double g( const double *x );
virtual void n( const double *x, double *n );
static const char *type(){ return "torus"; }
virtual const char *id(){ return type(); }
static int expected_argc(){ return NPARAMS; }
virtual int nparams(){ return NPARAMS; }
};
}
}
#endif // LMP_MANIFOLD_TORUS_H

Event Timeline