svMultiPhysics
Loading...
Searching...
No Matches
set_bc.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 SET_BC_H
5#define SET_BC_H
6
7#include "Simulation.h"
8#include "consts.h"
9#include "RobinBoundaryCondition.h"
10
11#include <string>
12
13namespace set_bc {
14
15void calc_der_cpl_bc(ComMod& com_mod, const CmMod& cm_mod);
16
17void cplBC_Integ_X(ComMod& com_mod, const CmMod& cm_mod, const bool RCRflag);
18
19void genBC_Integ_X(ComMod& com_mod, const CmMod& cm_mod, const std::string& genFlag);
20
21void rcr_init(ComMod& com_mod, const CmMod& cm_mod);
22
23void RCR_Integ_X(ComMod& com_mod, const CmMod& cm_mod, int istat);
24
25void set_bc_cmm(ComMod& com_mod, const CmMod& cm_mod, const Array<double>& Ag, const Array<double>& Dg);
26void set_bc_cmm_l(ComMod& com_mod, const CmMod& cm_mod, const faceType& lFa, const Array<double>& Ag, const Array<double>& Dg );
27
28void set_bc_cpl(ComMod& com_mod, CmMod& cm_mod);
29
30void set_bc_dir(ComMod& com_mod, Array<double>& lA, Array<double>& lY, Array<double>& lD);
31void set_bc_dir_l(ComMod& com_mod, const bcType& lBc, const faceType& lFa, Array<double>& lA, Array<double>& lY, int lDof);
32void set_bc_dir_w(ComMod& com_mod, const Array<double>& Yg, const Array<double>& Dg);
33void set_bc_dir_wl(ComMod& com_mod, const bcType& lBc, const mshType& lM, const faceType& lFa, const Array<double>& Yg, const Array<double>& Dg);
34
35void set_bc_neu(ComMod& com_mod, const CmMod& cm_mod, const Array<double>& Yg, const Array<double>& Dg);
36void set_bc_neu_l(ComMod& com_mod, const CmMod& cm_mod, const bcType& lBc, const faceType& lFa, const Array<double>& Yg, const Array<double>& Dg);
37
38void set_bc_rbnl(ComMod& com_mod, const faceType& lFa, const RobinBoundaryCondition& robin_bc,
39 const Array<double>& Yg, const Array<double>& Dg);
40
41void set_bc_trac_l(ComMod& com_mod, const CmMod& cm_mod, const bcType& lBc, const faceType& lFa);
42
43void set_bc_undef_neu(ComMod& com_mod);
44
45void set_bc_undef_neu_l(ComMod& com_mod, const bcType& lBc, const faceType& lFa);
46
47};
48
49#endif
50
The CmMod class duplicates the data structures in the Fortran CMMOD module defined in COMU....
Definition CmMod.h:35
The ComMod class duplicates the data structures in the Fortran COMMOD module defined in MOD....
Definition ComMod.h:1514
Definition RobinBoundaryCondition.h:37
Boundary condition data type.
Definition ComMod.h:126
The face type containing mesh at boundary.
Definition ComMod.h:511
This is the container for a mesh or NURBS patch, those specific to NURBS are noted.
Definition ComMod.h:863