svMultiPhysics
Loading...
Searching...
No Matches
shells.h
1/* Copyright (c) Stanford University, The Regents of the University of California, and others.
2 *
3 * All Rights Reserved.
4 *
5 * See Copyright-SimVascular.txt for additional details.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining
8 * a copy of this software and associated documentation files (the
9 * "Software"), to deal in the Software without restriction, including
10 * without limitation the rights to use, copy, modify, merge, publish,
11 * distribute, sublicense, and/or sell copies of the Software, and to
12 * permit persons to whom the Software is furnished to do so, subject
13 * to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included
16 * in all copies or substantial portions of the Software.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
19 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
21 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
22 * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31#ifndef SHELLS_H
32#define SHELLS_H
33
34#include "ComMod.h"
35#include "Simulation.h"
36
37namespace shells {
38
39void construct_shell(ComMod& com_mod, const mshType& lM, const Array<double>& Ag,
40 const Array<double>& Yg, const Array<double>& Dg);
41
42void shell_3d(ComMod& com_mod, const mshType& lM, const int g, const int eNoN,
43 const int nFn, const Array<double>& fN, const Array<double>& al, const Array<double>& yl,
44 const Array<double>& dl, const Array<double>& xl, const Array<double>& bfl,
45 Array<double>& lR, Array3<double>& lK);
46
47void shell_bend_cst(ComMod& com_mod, const mshType& lM, const int e, const Vector<int>& ptr,
48 Array<double>& x0, Array<double>& xc, double bb_0[2][2], double bb_x[2][2],
49 Array3<double>& Bb, const bool vflag);
50
51void shell_bf(ComMod& com_mod, const int eNoN, const double w, const Vector<double>& N, const Array<double>& Nx,
52 const Array<double>& dl, const Array<double>& xl, const Array<double>& tfl, Array<double>& lR, Array3<double>& lK);
53
54void shell_cst(ComMod& com_mod, const mshType& lM, const int e, const int eNoN, const int nFn, const Array<double>& fN,
55 const Array<double>& al, const Array<double>& yl, const Array<double>& dl, const Array<double>& xl,
56 const Array<double>& bfl, const Vector<int>& ptr);
57
58void shell_fp(ComMod& com_mod, const int eNoN, const double w, const Vector<double>& N, const Array<double>& Nx,
59 const Array<double>& dl, const Array<double>& xl, const Array<double>& tfl, Array<double>& lR, Array3<double>& lK);
60
61void shl_strs_res(const ComMod& com_mod, const dmnType& lDmn, const int nFn, const Array<double>& fNa0,
62 const double aa_0[2][2], const double aa_x[2][2], const double bb_0[2][2], const double bb_x[2][2],
63 double& lam3, Array<double>& Sm, Array3<double>& Dm);
64
65};
66
67#endif
68
The Array3 template class implements a simple interface to 3D arrays.
Definition Array3.h:52
The ComMod class duplicates the data structures in the Fortran COMMOD module defined in MOD....
Definition ComMod.h:1354
The Vector template class is used for storing int and double data.
Definition Vector.h:50
Domain type is to keep track with element belong to which domain and also different physical quantiti...
Definition ComMod.h:432
This is the container for a mesh or NURBS patch, those specific to NURBS are noted.
Definition ComMod.h:832