Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F86944864
manifold_spine.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
Wed, Oct 9, 14:26
Size
1011 B
Mime Type
text/x-c
Expires
Fri, Oct 11, 14:26 (2 d)
Engine
blob
Format
Raw Data
Handle
21467423
Attached To
rLAMMPS lammps
manifold_spine.h
View Options
#ifndef LMP_MANIFOLD_SPINE_H
#define LMP_MANIFOLD_SPINE_H
#include "manifold.h"
namespace LAMMPS_NS {
namespace user_manifold {
// A dendritic spine approximation:
class manifold_spine : public manifold {
public:
enum { NPARAMS = 5 }; // Number of parameters.
manifold_spine( LAMMPS *lmp, int, char ** );
virtual ~manifold_spine(){}
virtual double g ( const double *x );
virtual void n ( const double *x, double *nn );
virtual double g_and_n( const double *x, double *nn );
static const char* type(){ return "spine"; }
virtual const char *id(){ return type(); }
static int expected_argc(){ return NPARAMS; }
virtual int nparams(){ return NPARAMS; }
protected:
int power;
};
class manifold_spine_two : public manifold_spine {
public:
manifold_spine_two( LAMMPS *lmp, int, char **);
static const char* type(){ return "spine/two"; }
virtual const char *id(){ return type(); }
};
}
}
#endif // LMP_MANIFOLD_SPINE_H
Event Timeline
Log In to Comment