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 "SolutionStates.h"
9#include "consts.h"
10#include "RobinBoundaryCondition.h"
11
12#include <string>
13
14namespace set_bc {
15
16void calc_der_cpl_bc(ComMod& com_mod, const CmMod& cm_mod, const SolutionStates& solutions);
17
18void cplBC_Integ_X(ComMod& com_mod, const CmMod& cm_mod, const bool RCRflag);
19
20void genBC_Integ_X(ComMod& com_mod, const CmMod& cm_mod, const std::string& genFlag);
21
22void rcr_init(ComMod& com_mod, const CmMod& cm_mod, const SolutionStates& solutions);
23
24void RCR_Integ_X(ComMod& com_mod, const CmMod& cm_mod, int istat);
25
26void set_bc_cmm(ComMod& com_mod, const CmMod& cm_mod, const SolutionStates& solutions);
27void set_bc_cmm_l(ComMod& com_mod, const CmMod& cm_mod, const faceType& lFa, const SolutionStates& solutions);
28
29void set_bc_cpl(ComMod& com_mod, CmMod& cm_mod, const SolutionStates& solutions);
30
31void set_bc_dir(ComMod& com_mod, SolutionStates& solutions);
32void set_bc_dir_l(ComMod& com_mod, const bcType& lBc, const faceType& lFa, Array<double>& lA, Array<double>& lY, int lDof);
33void set_bc_dir_w(ComMod& com_mod, const SolutionStates& solutions);
34void set_bc_dir_wl(ComMod& com_mod, const bcType& lBc, const mshType& lM, const faceType& lFa, const SolutionStates& solutions);
35
36void set_bc_neu(ComMod& com_mod, const CmMod& cm_mod, const SolutionStates& solutions);
37void set_bc_neu_l(ComMod& com_mod, const CmMod& cm_mod, const bcType& lBc, const faceType& lFa, const SolutionStates& solutions);
38
39void set_bc_rbnl(ComMod& com_mod, const faceType& lFa, const RobinBoundaryCondition& robin_bc,
40 const SolutionStates& solutions);
41
42void set_bc_trac_l(ComMod& com_mod, const CmMod& cm_mod, const bcType& lBc, const faceType& lFa, const SolutionStates& solutions);
43
44void set_bc_undef_neu(ComMod& com_mod);
45
46void set_bc_undef_neu_l(ComMod& com_mod, const bcType& lBc, const faceType& lFa);
47
48};
49
50#endif
51
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:1525
Definition RobinBoundaryCondition.h:37
Boundary condition data type.
Definition ComMod.h:127
The face type containing mesh at boundary.
Definition ComMod.h:519
This is the container for a mesh or NURBS patch, those specific to NURBS are noted.
Definition ComMod.h:871
Holds solution state at old, current, and intermediate time levels.
Definition SolutionStates.h:39