Revision 43f287bd1c94e4b68b5a56b8f6c0f10ee1782d0b authored by Dmitry Yu. Naumov on 27 April 2023, 08:01:15 UTC, committed by Dmitry Yu. Naumov on 27 April 2023, 08:01:15 UTC
OpenMP parallelized assembly See merge request ogs/ogs!4556
Node.cpp
/**
* \file
* \author Karsten Rink
* \date 2012-05-02
* \brief Implementation of the Node class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "MeshLib/Node.h"
#include "Elements/Element.h"
namespace MeshLib
{
Node::Node(const double coords[3], std::size_t id)
: MathLib::Point3dWithID(
std::array<double, 3>{{coords[0], coords[1], coords[2]}}, id)
{
}
Node::Node(std::array<double, 3> const& coords, std::size_t id)
: MathLib::Point3dWithID(coords, id)
{
}
Node::Node(double x, double y, double z, std::size_t id)
: MathLib::Point3dWithID(std::array<double, 3>({{x, y, z}}), id)
{
}
Node::Node(const Node& node) : MathLib::Point3dWithID(node, node.getID()) {}
} // namespace MeshLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...