Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80251662
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
Fri, Aug 30, 17:20
Size
745 B
Mime Type
text/x-c
Expires
Sun, Sep 1, 17:20 (2 d)
Engine
blob
Format
Raw Data
Handle
20218121
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