swh:1:snp:6088ab52ef49920e01e3f334cdf4d5d6c8a822b9
Raw File
Tip revision: 08bcb2e967f21f42495eb2a32eac6de74fc74d99 authored by Dmitry Yu. Naumov on 07 July 2021, 06:38:34 UTC
Merge branch 'UseIntForGlobalDim' into 'master'
Tip revision: 08bcb2e
GMSHLine.h
/**
 *
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include <cstddef>
#include <iosfwd>

namespace FileIO
{
namespace GMSH
{

class GMSHLine final {
public:
    GMSHLine(std::size_t start_point_id, std::size_t end_point_id);
    void write(std::ostream &os, std::size_t id) const;

private:
    std::size_t _start_pnt_id;
    std::size_t _end_pnt_id;
};

} // end namespace GMSH
} // end namespace FileIO
back to top