Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80606544
manifold_ellipsoid.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, Sep 1, 15:34
Size
667 B
Mime Type
text/x-c
Expires
Tue, Sep 3, 15:34 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
20094198
Attached To
rLAMMPS lammps
manifold_ellipsoid.h
View Options
#ifndef LMP_MANIFOLD_ELLIPSOID_H
#define LMP_MANIFOLD_ELLIPSOID_H
#include "manifold.h"
namespace
LAMMPS_NS
{
namespace
user_manifold
{
// An ellipsoid:
class
manifold_ellipsoid
:
public
manifold
{
public:
enum
{
NPARAMS
=
3
};
manifold_ellipsoid
(
LAMMPS
*
lmp
,
int
,
char
**
);
virtual
~
manifold_ellipsoid
(){}
virtual
double
g
(
const
double
*
x
);
virtual
void
n
(
const
double
*
x
,
double
*
n
);
static
const
char
*
type
(){
return
"ellipsoid"
;
}
virtual
const
char
*
id
(){
return
type
();
}
static
int
expected_argc
(){
return
NPARAMS
;
}
virtual
int
nparams
(){
return
NPARAMS
;
}
};
}
}
#endif
// LMP_MANIFOLD_ELLIPSOID_H
Event Timeline
Log In to Comment