Revision 063435a1f0a70abd32e6da9b431221b984114d87 authored by Haibing Shao on 24 September 2021, 14:21:01 UTC, committed by Haibing Shao on 24 September 2021, 14:45:02 UTC
change definition of postTimeStepConcreteProcess

successfully running (but tespySolver commented)

State for building release version for additional tests (NOT final; tespySolver commented out)

using the newly added switch


Fixed server communication switch (OR instead of AND)

correct the naming


Extended "call BHEPythonBoundarycondition" clause

cosmetic change of process file

Code cosmetics #2

clang format the process file

clean up the process file

Apply 1 suggestion(s) to 1 file(s)
Apply 1 suggestion(s) to 1 file(s)
remove comments in process file
1 parent 50b953e
Raw File
AppendLinesAlongPolyline.h
/**
 * \file
 * \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 <memory>

namespace GeoLib
{
class Polyline;
template <typename T> class TemplateVec;
using PolylineVec = TemplateVec<GeoLib::Polyline>;
}

namespace MeshLib
{
class Mesh;
}

namespace MeshGeoToolsLib
{

/**
 * Add line elements to a copy of a given mesh
 *
 * The function creates line elements from nodes located along user-provided polylines.
 * New elements will have a distinct material ID for each polyline.
 *
 * \remark The function allows creation of duplicated line elements.
 * \remark Line elements may not be placed along edges of existing elements.
 *
 * @param mesh      original mesh
 * @param ply_vec   polyline vector whose nodes are used to create line elements
 * @return a new mesh which is copied from a given mesh and additionally includes line elements
 */
std::unique_ptr<MeshLib::Mesh> appendLinesAlongPolylines(
    const MeshLib::Mesh& mesh, const GeoLib::PolylineVec& ply_vec);
}  // namespace MeshGeoToolsLib
back to top