Page MenuHomec4science

manifold_plane_wiggle.h
No OneTemporary

File Metadata

Created
Sat, Aug 17, 02:00

manifold_plane_wiggle.h

#ifndef LMP_MANIFOLD_PLANE_WIGGLE_H
#define LMP_MANIFOLD_PLANE_WIGGLE_H
#include "manifold.h"
namespace LAMMPS_NS {
namespace user_manifold {
// A 2D wiggly/wave-y plane (Like z = A cos(kx))
class manifold_plane_wiggle : public manifold {
public:
enum { NPARAMS = 2 }; // Number of parameters.
manifold_plane_wiggle( LAMMPS *lmp, int, char ** );
virtual ~manifold_plane_wiggle(){}
virtual double g( const double *x );
virtual void n( const double *x, double *n );
static const char *type(){ return "plane/wiggle"; }
virtual const char *id(){ return type(); }
static int expected_argc(){ return NPARAMS; }
virtual int nparams(){ return NPARAMS; }
};
}
}
#endif // LMP_MANIFOLD_PLANE_WIGGLE_H

Event Timeline