PeriDyno 1.0.0
Loading...
Searching...
No Matches
CalculateMaximum.h
Go to the documentation of this file.
1
16
17#pragma once
19
20#include "Algorithm/Reduction.h"
21
22namespace dyno
23{
24 template<typename TDataType>
26 {
28 public:
29 typedef typename TDataType::Real Real;
30
32 ~CalculateMaximum() override {};
33
34 void compute() override;
35
36 public:
37 DEF_ARRAY_IN(Real, ScalarArray, DeviceType::GPU, "");
38 DEF_VAR_OUT(Real, Scalar, "");
39
40 private:
42 };
43}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
DEF_VAR_OUT(Real, Scalar, "")
DEF_ARRAY_IN(Real, ScalarArray, DeviceType::GPU, "")
Reduction< Real > mReduce
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25