Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F87866615
manifold_torus.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, Oct 15, 11:15
Size
610 B
Mime Type
text/x-c
Expires
Thu, Oct 17, 11:15 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21627319
Attached To
rLAMMPS lammps
manifold_torus.h
View Options
#ifndef LMP_MANIFOLD_TORUS_H
#define LMP_MANIFOLD_TORUS_H
#include "manifold.h"
namespace
LAMMPS_NS
{
namespace
user_manifold
{
class
manifold_torus
:
public
manifold
{
public:
enum
{
NPARAMS
=
2
};
manifold_torus
(
LAMMPS
*
,
int
,
char
**
);
~
manifold_torus
(){}
virtual
double
g
(
const
double
*
x
);
virtual
void
n
(
const
double
*
x
,
double
*
n
);
static
const
char
*
type
(){
return
"torus"
;
}
virtual
const
char
*
id
(){
return
type
();
}
static
int
expected_argc
(){
return
NPARAMS
;
}
virtual
int
nparams
(){
return
NPARAMS
;
}
};
}
}
#endif
// LMP_MANIFOLD_TORUS_H
Event Timeline
Log In to Comment