Revision 3b0fbf0f04718804b99daa9745a4d084cf7717f7 authored by Wenqing Wang on 25 March 2021, 10:23:48 UTC, committed by Wenqing Wang on 25 March 2021, 10:26:28 UTC
1 parent 5c2ae1c
ComputeSparsityPattern.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 <vector>
#include "NumLib/NumericsConfig.h"
namespace MeshLib
{
class Mesh;
}
namespace NumLib
{
class LocalToGlobalIndexMap;
/**
* @brief Computes a sparsity pattern for the given inputs.
*
* @param dof_table maps mesh nodes to global indices
* @param mesh mesh for which the two parameters above are defined
*
* @return The computed sparsity pattern.
*/
GlobalSparsityPattern computeSparsityPattern(
LocalToGlobalIndexMap const& dof_table, MeshLib::Mesh const& mesh);
} // namespace NumLib
Computing file changes ...