Skip to content

Commit ae943f9

Browse files
uebianrserban
authored andcommitted
Add shared pointer declarations for FSI classes (#721)
(cherry picked from commit 2aacc77)
1 parent 135b26d commit ae943f9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/chrono_swig/interface/fsi/ChFsiDefinitions.i

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,13 @@ using namespace chrono::fsi;
99

1010
%}
1111

12+
%shared_ptr(chrono::fsi::FsiBodyState)
13+
%shared_ptr(chrono::fsi::FsiBodyForce)
14+
%shared_ptr(chrono::fsi::FsiMeshState)
15+
%shared_ptr(chrono::fsi::FsiMeshForce)
16+
%shared_ptr(chrono::fsi::FsiBody)
17+
%shared_ptr(chrono::fsi::FsiMesh1D)
18+
%shared_ptr(chrono::fsi::FsiMesh2D)
19+
1220
/* Parse the header file to generate wrappers */
1321
%include "../../../chrono_fsi/ChFsiDefinitions.h"

0 commit comments

Comments
 (0)