VolumeIntersection.h
Go to the documentation of this file.
1 //
2 // This file is part of the FFEA simulation package
3 //
4 // Copyright (c) by the Theory and Development FFEA teams,
5 // as they appear in the README.md file.
6 //
7 // FFEA is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // FFEA is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with FFEA. If not, see <http://www.gnu.org/licenses/>.
19 //
20 // To help us fund FFEA development, we humbly ask that you cite
21 // the research papers on the package.
22 //
23 
24 #ifndef VOLUME_INTERSECTION_H_INCLUDED
25 #define VOLUME_INTERSECTION_H_INCLUDED
26 
27 #include "mat_vec_fns_II.h"
28 
29 // scalar volumeIntersection(arr3 (&tetA)[4], arr3 (&tetB)[4]);
31 template <class t_scalar, class brr3> t_scalar volumeIntersection(brr3 (&tetA)[4], brr3 (&tetB)[4], bool calcCM, brr3 &cm);
32 template <class t_scalar, class brr3> t_scalar volumeIntersectionII(brr3 &tetA0, brr3 &tetA1, brr3 &tetA2, brr3 &tetA3, brr3 &tetB0, brr3 &tetB1, brr3 &tetB2, brr3 &tetB3, bool calcCM, brr3 &cm);
34 template <class t_scalar, class brr3> void volumeAndAreaIntersection(brr3 (&tetA)[4], brr3 (&tetB)[4], t_scalar &vol, t_scalar &area);
35 
36 #endif
t_scalar volumeIntersection(brr3(&tetA)[4], brr3(&tetB)[4], bool calcCM, brr3 &cm)
Definition: VolumeIntersection.cpp:776
t_scalar volumeIntersectionII(brr3 &tetA0, brr3 &tetA1, brr3 &tetA2, brr3 &tetA3, brr3 &tetB0, brr3 &tetB1, brr3 &tetB2, brr3 &tetB3, bool calcCM, brr3 &cm)
Definition: VolumeIntersection.cpp:951
const scalar area
area = l**2
Definition: dimensions.h:35
void volumeAndAreaIntersection(brr3(&tetA)[4], brr3(&tetB)[4], t_scalar &vol, t_scalar &area)
Definition: VolumeIntersection.cpp:1028