https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 579eace595f64b4ad643b5690434ac9516e9120e authored by Dmitry Yu. Naumov on 02 August 2023, 14:32:49 UTC
Merge branch 'UseXPrevInsteadOfXDot' into 'master'
Tip revision: 579eace
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