MFEM
v4.4.0
Finite element discretization library
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
mesh
element.cpp
Go to the documentation of this file.
1
// Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced
2
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3
// LICENSE and NOTICE for details. LLNL-CODE-806117.
4
//
5
// This file is part of the MFEM library. For more information and source code
6
// availability visit https://mfem.org.
7
//
8
// MFEM is free software; you can redistribute it and/or modify it under the
9
// terms of the BSD-3 license. We welcome feedback and contributions, see file
10
// CONTRIBUTING.md for details.
11
12
#include "
mesh_headers.hpp
"
13
14
namespace
mfem
15
{
16
17
void
Element::SetVertices
(
const
int
*ind)
18
{
19
int
i, n, *v;
20
21
n =
GetNVertices
();
22
v =
GetVertices
();
23
24
for
(i = 0; i < n; i++)
25
{
26
v[i] = ind[i];
27
}
28
}
29
30
}
mfem::Element::GetVertices
virtual int * GetVertices()=0
mfem::Element::SetVertices
virtual void SetVertices(const int *ind)
Set the indices the element according to the input.
Definition:
element.cpp:17
mesh_headers.hpp
mfem::Element::GetNVertices
virtual int GetNVertices() const =0
Generated on Mon Mar 21 2022 16:49:52 for MFEM by
1.8.5