PeriDyno 1.0.0
Loading...
Searching...
No Matches
ActReset.cpp
Go to the documentation of this file.
1#include "ActReset.h"
2#include "Node.h"
3
4
5namespace dyno
6{
7
9 {
10
11 }
12
14 {
15
16 }
17
19 {
20 if (node == NULL)
21 {
22 Log::sendMessage(Log::Error, "Node is invalid!");
23 return;
24 }
25
26 node->reset();
27 }
28
29}
@ Error
Error information while executing something.
Definition Log.h:50
static void sendMessage(MessageType type, const std::string &text)
Add a new message to log.
Definition Log.cpp:41
void reset()
Definition Node.cpp:183
virtual ~ResetAct()
Definition ActReset.cpp:13
void process(Node *node) override
Definition ActReset.cpp:18
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25