svMultiPhysics
Loading...
Searching...
No Matches
set_equation_dof.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#include <map>
5#include <tuple>
6
7/// @brief The 'equation_dof_map' map defined here sets equation dof and sym data members.
8//
9using EquationDofType = std::tuple<int, std::string>;
10
11std::map<consts::EquationType, EquationDofType> equation_dof_map =
12{
13 {EquationType::phys_fluid, std::make_tuple(nsd+1, "NS") },
14 {EquationType::phys_heatF, std::make_tuple(1, "HF") },
15 {EquationType::phys_heatS, std::make_tuple(1, "HS") },
16 {EquationType::phys_lElas, std::make_tuple(nsd, "LE") },
17 {EquationType::phys_struct, std::make_tuple(nsd, "ST") },
18 {EquationType::phys_ustruct, std::make_tuple(nsd+1, "ST") },
19 {EquationType::phys_CMM, std::make_tuple(nsd+1, "CM") },
20 {EquationType::phys_shell, std::make_tuple(nsd, "SH") },
21 {EquationType::phys_FSI, std::make_tuple(nsd+1, "FS") },
22 {EquationType::phys_mesh, std::make_tuple(nsd, "MS") },
23 {EquationType::phys_CEP, std::make_tuple(1, "EP") },
24 {EquationType::phys_stokes, std::make_tuple(nsd+1, "SS") }
25};
26