PeriDyno 1.0.0
Loading...
Searching...
No Matches
SharedFunc.h
Go to the documentation of this file.
1
16#pragma once
17#include "Array/Array.h"
18#include "Array/ArrayList.h"
19
20#include "Bond.h"
21#include "DataTypes.h"
22
23namespace dyno {
24 template<typename Coord, typename Bond>
26 DArrayList<Bond>& shape,
27 DArrayList<int>& nbr,
28 DArray<Coord>& pos);
29
30 template<typename Coord, typename Bond>
32 DArrayList<Bond>& shape,
33 DArrayList<int>& nbr,
34 DArray<Coord>& pos);
35}
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
Array< T, DeviceType::GPU > DArray
Definition Array.inl:89
void constructRestShape(DArrayList< Bond > &shape, DArrayList< int > &nbr, DArray< Coord > &pos)
ArrayList< ElementType, DeviceType::GPU > DArrayList
Definition ArrayList.inl:83
void constructRestShapeWithSelf(DArrayList< Bond > &shape, DArrayList< int > &nbr, DArray< Coord > &pos)