Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
boundary_condition_helper.hpp
Go to the documentation of this file.
1 // Copyright (c) Lawrence Livermore National Security, LLC and
2 // other Smith Project Developers. See the top-level LICENSE file for
3 // details.
4 //
5 // SPDX-License-Identifier: (BSD-3-Clause)
6 
13 #pragma once
14 
15 #include "mfem.hpp"
16 
17 namespace smith::mfem_ext {
18 
31 void GetEssentialTrueDofsFromElementAttribute(const mfem::ParFiniteElementSpace& fespace,
32  const mfem::Array<int>& elem_attr_is_ess, mfem::Array<int>& ess_tdof_list,
33  int component = -1);
34 
47 void GetEssentialVDofsFromElementAttribute(const mfem::ParFiniteElementSpace& fespace,
48  const mfem::Array<int>& elem_attr_is_ess, mfem::Array<int>& ess_vdofs,
49  int component = -1);
50 
51 } // namespace smith::mfem_ext