https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 29e78a6ceb96e21a6a269306c667ed72c88a208e authored by Tom Fischer on 17 November 2023, 09:30:25 UTC
Merge branch 'RasterParameter' into 'master'
Tip revision: 29e78a6
scaleMeshPropertyVector.h
/**
 * \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
 *
 */

#pragma once

#include <string>

namespace MeshLib
{
class Mesh;

/// Scales the mesh property with name \c property_name by given \c factor.
/// \note The property must be a "double" property.
void scaleMeshPropertyVector(Mesh& mesh,
                             std::string const& property_name,
                             double factor);
}  // namespace MeshLib
back to top