PeriDyno
1.0.0
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Framework
Auxiliary
Add.cpp
Go to the documentation of this file.
1
#include "
Add.h
"
2
3
namespace
dyno
4
{
5
IMPLEMENT_TCLASS
(
AddRealAndReal
, TDataType);
6
7
template
<
typename
TDataType>
8
void
AddRealAndReal<TDataType>::compute
()
9
{
10
this->outO()->setValue(this->inA()->getValue() + this->inB()->getValue());
11
}
12
13
template
class
AddRealAndReal<DataType3f>
;
14
template
class
AddRealAndReal<DataType3d>
;
15
}
Add.h
IMPLEMENT_TCLASS
#define IMPLEMENT_TCLASS(name, T1)
Definition
Object.h:103
dyno::AddRealAndReal
Definition
Add.h:35
dyno::AddRealAndReal::compute
void compute() override
Definition
Add.cpp:8
dyno
This is an implementation of AdditiveCCD based on peridyno.
Definition
Array.h:25
Generated by
1.13.2