Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F84725127
fix_lb_pc.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, Sep 24, 13:26
Size
1 KB
Mime Type
text/x-c
Expires
Thu, Sep 26, 13:26 (2 d)
Engine
blob
Format
Raw Data
Handle
21077001
Attached To
rLAMMPS lammps
fix_lb_pc.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(lb/pc,FixLbPC)
#else
#ifndef LMP_FIX_LB_PC_H
#define LMP_FIX_LB_PC_H
#include "fix.h"
namespace LAMMPS_NS {
class FixLbPC : public Fix {
public:
FixLbPC(class LAMMPS *, int, char **);
~FixLbPC();
int setmask();
void init();
void initial_integrate(int);
void final_integrate();
void grow_arrays(int);
void copy_arrays(int, int, int);
// void set_arrays(int);
int pack_exchange(int, double *);
int unpack_exchange(int, double *);
private:
double dtv,dtf;
int me;
double *Gamma_MD;
double expminusdttimesgamma;
double DMDcoeff;
double **force_old;
double **up;
double **up_old;
void compute_up(void);
class FixLbFluid *fix_lb_fluid;
};
}
#endif
#endif
Event Timeline
Log In to Comment