Revision d8ca239e9c7b37cde1cf1f7630f92d1b0af84784 authored by Karsten Rink on 11 October 2023, 08:54:18 UTC, committed by Karsten Rink on 11 October 2023, 08:54:18 UTC
[utils] Invert bounding box for RemoveMeshElements Closes #3414 See merge request ogs/ogs!4759
Location.cpp
/**
* \file
* \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 "Location.h"
#include <ostream>
namespace MeshLib
{
std::ostream& operator<<(std::ostream& os, MeshItemType const& t)
{
switch (t)
{
case MeshItemType::Node:
return os << "N";
case MeshItemType::Edge:
return os << "E";
case MeshItemType::Face:
return os << "F";
case MeshItemType::Cell:
return os << "C";
case MeshItemType::IntegrationPoint:
return os << "I";
};
return os;
}
std::ostream& operator<<(std::ostream& os, Location const& l)
{
return os << "(" << l.mesh_id << ", " << l.item_type << ", " << l.item_id
<< ")";
}
} // namespace MeshLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...