Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F86304401
manifold_plane_wiggle.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
Sat, Oct 5, 17:02
Size
745 B
Mime Type
text/x-c
Expires
Mon, Oct 7, 17:02 (2 d)
Engine
blob
Format
Raw Data
Handle
21396109
Attached To
rLAMMPS lammps
manifold_plane_wiggle.h
View Options
#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
Log In to Comment