Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F66961326
fix_gle.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
Wed, Jun 19, 03:03
Size
1 KB
Mime Type
text/x-c
Expires
Fri, Jun 21, 03:03 (2 d)
Engine
blob
Format
Raw Data
Handle
18322573
Attached To
rLAMMPS lammps
fix_gle.h
View Options
/* -*- c++ -*- ----------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
certain rights in this software. This software is distributed under
the GNU General Public License.
See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */
#ifdef FIX_CLASS
FixStyle(gle,FixGLE)
#else
#ifndef LMP_FIX_GLE_H
#define LMP_FIX_GLE_H
#include "fix.h"
namespace LAMMPS_NS {
class FixGLE : public Fix {
public:
FixGLE(class LAMMPS *, int, char **);
virtual ~FixGLE();
int setmask();
void init();
void setup(int);
void gle_integrate();
void initial_integrate_respa(int vflag, int ilevel, int iloop);
void final_integrate_respa(int ilevel, int iloop);
void initial_integrate(int vflag);
void final_integrate();
double compute_scalar();
void reset_target(double);
virtual void reset_dt();
double memory_usage();
void grow_arrays(int);
void copy_arrays(int, int, int);
int pack_exchange(int, double *);
int unpack_exchange(int, double *);
int pack_restart(int, double *);
void unpack_restart(int, int);
int size_restart(int);
int maxsize_restart();
virtual void *extract(const char *, int &);
void init_gle(); void init_gles();
protected:
int ns, ns1sq;
double *A, *C, *S, *T, *ST, *TT;
double *gle_tmp1, *gle_tmp2;
double t_start, t_stop, t_target;
double dtv, dtf;
int dogle, fnoneq, gle_every, gle_step;
class RanMars *random;
double *sqrt_m;
double *step_respa;
double energy;
int nlevels_respa;
double **gle_s;
double **vaux;
};
}
#endif
#endif
Event Timeline
Log In to Comment