Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90846644
manifold_cylinder.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
Tue, Nov 5, 07:29
Size
687 B
Mime Type
text/x-c
Expires
Thu, Nov 7, 07:29 (2 d)
Engine
blob
Format
Raw Data
Handle
22081740
Attached To
rLAMMPS lammps
manifold_cylinder.h
View Options
#ifndef LMP_MANIFOLD_CYLINDER_H
#define LMP_MANIFOLD_CYLINDER_H
#include "manifold.h"
// A normal cylinder
namespace
LAMMPS_NS
{
namespace
user_manifold
{
class
manifold_cylinder
:
public
manifold
{
public:
enum
{
NPARAMS
=
1
};
// Number of parameters.
manifold_cylinder
(
LAMMPS
*
lmp
,
int
,
char
**
);
virtual
~
manifold_cylinder
(){}
virtual
double
g
(
const
double
*
x
);
virtual
void
n
(
const
double
*
x
,
double
*
n
);
static
const
char
*
type
(){
return
"cylinder"
;
}
virtual
const
char
*
id
(){
return
type
();
}
static
int
expected_argc
(){
return
NPARAMS
;
}
virtual
int
nparams
(){
return
NPARAMS
;
}
};
}
}
#endif
// LMP_MANIFOLD_CYLINDER_H
Event Timeline
Log In to Comment