![]() |
OGS
|
|
#include "ComputeSparsityPattern.h"#include <numeric>#include <range/v3/algorithm/sort.hpp>#include <range/v3/algorithm/unique.hpp>#include <range/v3/range/conversion.hpp>#include <range/v3/view/transform.hpp>#include "LocalToGlobalIndexMap.h"#include "MeshLib/NodeAdjacencyTable.h"#include "MeshLib/NodePartitionedMesh.h"Go to the source code of this file.
Namespaces | |
| namespace | NumLib |
Functions | |
| GlobalSparsityPattern | computeSparsityPatternPETSc (NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh) |
| GlobalSparsityPattern | NumLib::computeSparsityPattern (LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh) |
| Computes a sparsity pattern for the given inputs. | |
| GlobalSparsityPattern computeSparsityPatternPETSc | ( | NumLib::LocalToGlobalIndexMap const & | dof_table, |
| MeshLib::Mesh const & | mesh ) |
Definition at line 18 of file ComputeSparsityPattern.cpp.
References MathLib::PETScSparsityPattern::col_idx, NumLib::LocalToGlobalIndexMap::dofSizeWithoutGhosts(), MeshLib::NodeAdjacencyTable::getAdjacentNodes(), NumLib::LocalToGlobalIndexMap::getGlobalIndices(), MeshLib::Mesh::getNumberOfNodes(), MeshLib::views::meshLocations(), MeshLib::Node, and MathLib::PETScSparsityPattern::row_ptr.
Referenced by NumLib::computeSparsityPattern().