Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79662301
interpolate.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, Aug 27, 15:15
Size
891 B
Mime Type
text/x-c++
Expires
Thu, Aug 29, 15:15 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20189072
Attached To
rLAMMPS lammps
interpolate.h
View Options
#ifndef INTERPOLATION_H
#define INTERPOLATION_H
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "memory.h"
#include <tricubic.h>
extern
"C"
{
#include "f2c.h"
#include "clapack.h"
}
using
namespace
std
;
class
Interpolate
{
public:
Interpolate
(
int
,
int
,
int
,
int
,
doublecomplex
**
);
~
Interpolate
();
void
set_method
();
void
execute
(
double
*
,
doublecomplex
*
);
void
reset_gamma
();
int
UseGamma
;
private:
void
tricubic_init
();
void
tricubic
(
double
*
,
doublecomplex
*
);
void
trilinear
(
double
*
,
doublecomplex
*
);
Memory
*
memory
;
int
which
;
int
Nx
,
Ny
,
Nz
,
Npt
,
ndim
;
int
flag_reset_gamma
,
flag_allocated_dfs
;
doublecomplex
**
data
;
doublecomplex
**
Dfdx
,
**
Dfdy
,
**
Dfdz
,
**
D2fdxdy
,
**
D2fdxdz
,
**
D2fdydz
,
**
D3fdxdydz
;
double
a
[
64
],
f
[
8
],
dfdx
[
8
],
dfdy
[
8
],
dfdz
[
8
],
d2fdxdy
[
8
],
d2fdxdz
[
8
],
d2fdydz
[
8
],
d3fdxdydz
[
8
];
int
vidx
[
8
];
};
#endif
Event Timeline
Log In to Comment