Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F88063789
fix_report_balance.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, Oct 16, 14:25
Size
1 KB
Mime Type
text/x-c
Expires
Fri, Oct 18, 14:25 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21709829
Attached To
rLAMMPS lammps
fix_report_balance.h
View Options
/* ----------------------------------------------------------------------
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
(
report
/
balance
,
FixReportBalance
)
#else
#ifndef LMP_FIX_REPORT_BALANCE_H
#define LMP_FIX_REPORT_BALANCE_H
#include "fix.h"
namespace
LAMMPS_NS
{
class
FixReportBalance
:
public
Fix
{
public:
FixReportBalance
(
class
LAMMPS
*
,
int
,
char
**
);
~
FixReportBalance
();
int
setmask
();
void
post_run
();
private:
void
report_time
(
double
,
const
char
*
,
double
*
);
void
output_per_process
(
FILE
*
fp
,
double
**
mat
);
int
me
,
nprocs
,
writefile
;
char
outfile
[
512
];
};
}
#endif
#endif
Event Timeline
Log In to Comment