Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90814208
compute_smd_tlsph_stress.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, Nov 5, 00:23
Size
1 KB
Mime Type
text/x-c
Expires
Thu, Nov 7, 00:23 (2 d)
Engine
blob
Format
Raw Data
Handle
22125978
Attached To
rLAMMPS lammps
compute_smd_tlsph_stress.h
View Options
/* ----------------------------------------------------------------------
*
* *** Smooth Mach Dynamics ***
*
* This file is part of the USER-SMD package for LAMMPS.
* Copyright (2014) Georg C. Ganzenmueller, georg.ganzenmueller@emi.fhg.de
* Fraunhofer Ernst-Mach Institute for High-Speed Dynamics, EMI,
* Eckerstrasse 4, D-79104 Freiburg i.Br, Germany.
*
* ----------------------------------------------------------------------- */
/* ----------------------------------------------------------------------
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 COMPUTE_CLASS
ComputeStyle
(
smd
/
tlsph_stress
,
ComputeSMDTLSPHStress
)
#else
#ifndef LMP_COMPUTE_SMD_TLSPH_STRESS_H
#define LMP_COMPUTE_SMD_TLSPH_STRESS_H
#include "compute.h"
#include <Eigen/Eigen>
using
namespace
Eigen
;
namespace
LAMMPS_NS
{
class
ComputeSMDTLSPHStress
:
public
Compute
{
public:
ComputeSMDTLSPHStress
(
class
LAMMPS
*
,
int
,
char
**
);
~
ComputeSMDTLSPHStress
();
void
init
();
void
compute_peratom
();
double
memory_usage
();
Matrix3d
Deviator
(
Matrix3d
);
private:
int
nmax
;
double
**
stress_array
;
};
}
#endif
#endif
Event Timeline
Log In to Comment