MFEM
v4.6.0
Finite element discretization library
mesh
vertex.cpp
Go to the documentation of this file.
1
// Copyright (c) 2010-2023, 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
13
#include "
vertex.hpp
"
14
15
namespace
mfem
16
{
17
18
Vertex::Vertex
(
double
*xx,
int
dim
)
19
{
20
for
(
int
i = 0; i <
dim
; i++)
21
{
22
coord
[i] = xx[i];
23
}
24
}
25
26
}
mfem::Vertex::Vertex
Vertex()=default
vertex.hpp
mfem
Definition:
CodeDocumentation.dox:1
mfem::Vertex::coord
double coord[3]
Definition:
vertex.hpp:25
dim
int dim
Definition:
ex24.cpp:53
Generated on Wed Sep 27 2023 14:52:33 for MFEM by
1.8.14