svMultiPhysics
Loading...
Searching...
No Matches
stokes.h
1// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef STOKES_H
5#define STOKES_H
6
7#include "ComMod.h"
8
9#include "consts.h"
10
11namespace stokes {
12
13void construct_stokes(ComMod& com_mod, const mshType& lM, const Array<double>& Ag, const Array<double>& Yg);
14
15void stokes_2d_c(ComMod& com_mod, const int lStab, const int eNoNw, const int eNoNq, const double w,
16 const Array<double>& ksix, const Vector<double>& Nw, const Vector<double>& Nq, const Array<double>& Nwx,
17 const Array<double>& Nqx, const Array<double>& al, const Array<double>& yl, const Array<double>& bfl,
18 Array<double>& lR, Array3<double>& lK);
19
20void stokes_2d_m(ComMod& com_mod, const int eNoNw, const int eNoNq, const double w,
21 const Vector<double>& Nw, const Vector<double>& Nq, const Array<double>& Nwx, const Array<double>& al,
22 const Array<double>& yl, const Array<double>& bfl, Array<double>& lR, Array3<double>& lK);
23
24void stokes_3d_c(ComMod& com_mod, const int lStab, const int eNoNw, const int eNoNq, const double w,
25 const Array<double>& ksix, const Vector<double>& Nw, const Vector<double>& Nq, const Array<double>& Nwx,
26 const Array<double>& Nqx, const Array<double>& al, const Array<double>& yl, const Array<double>& bfl,
27 Array<double>& lR, Array3<double>& lK);
28
29void stokes_3d_m(ComMod& com_mod, const int eNoNw, const int eNoNq, const double w,
30 const Vector<double>& Nw, const Vector<double>& Nq, const Array<double>& Nwx,
31 const Array<double>& al, const Array<double>& yl, const Array<double>& bfl,
32 Array<double>& lR, Array3<double>& lK);
33
34};
35
36#endif
37
The Array3 template class implements a simple interface to 3D arrays.
Definition Array3.h:25
The ComMod class duplicates the data structures in the Fortran COMMOD module defined in MOD....
Definition ComMod.h:1514
The Vector template class is used for storing int and double data.
Definition Vector.h:23
This is the container for a mesh or NURBS patch, those specific to NURBS are noted.
Definition ComMod.h:863