Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65295198
manifold_plane.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jun 2, 16:46
Size
663 B
Mime Type
text/x-c
Expires
Tue, Jun 4, 16:46 (2 d)
Engine
blob
Format
Raw Data
Handle
18044521
Attached To
rLAMMPS lammps
manifold_plane.h
View Options
#ifndef LMP_MANIFOLD_PLANE_H
#define LMP_MANIFOLD_PLANE_H
#include "manifold.h"
namespace LAMMPS_NS {
namespace user_manifold {
// A 2D plane
class manifold_plane : public manifold {
public:
enum { NPARAMS = 6 }; // Number of parameters.
manifold_plane( LAMMPS *lmp, int, char ** );
virtual ~manifold_plane(){}
virtual double g( const double *x );
virtual void n( const double *x, double *n );
static const char *type(){ return "plane"; }
virtual const char *id(){ return type(); }
static int expected_argc(){ return NPARAMS; }
virtual int nparams(){ return NPARAMS; }
};
}
}
#endif // LMP_MANIFOLD_PLANE_H
Event Timeline
Log In to Comment