12 template<
typename TDataType>
18 typedef typename TDataType::Real
Real;
19 typedef typename TDataType::Coord
Coord;
20 typedef typename TDataType::Matrix
Matrix;
#define DECLARE_TCLASS(name, T1)
#define IMPLEMENT_TCLASS(name, T1)
~EnergyAnalysis() override
Reduction< float > * m_reduce_real
void setOutputPath(std::string path)
DEF_ARRAYLIST_IN(int, NeighborIds, DeviceType::GPU, "")
DEF_ARRAY_IN(Coord, Position, DeviceType::GPU, "Input particle position")
std::string mOutputPrefix
Reduction< Real > * m_reduce
void constrain() override
DEF_ARRAY_IN(Coord, Velocity, DeviceType::GPU, "Input particle position")
void setNamePrefix(std::string prefix)
bool initializeImpl() override
Arithmetic< Real > * m_arithmetic
std::unique_ptr< std::fstream > m_output
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray