Revision 8fd6ee75e21a7539d27aed1a2686f56752f06d79 authored by Haibing Shao on 23 September 2021, 09:27:57 UTC, committed by Haibing Shao on 24 September 2021, 14:45:02 UTC

correct naming and store the switch


cosmetic change on create process file

clang format the create process file

fix Doxygen warning

The parameter 'use_server_communication' belongs to the process 'HEAT_TRANSPORT_BHE'
1 parent 404859a
Raw File
MatrixSpecifications.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 "GlobalMatrixVectorTypes.h"

namespace MathLib
{

struct MatrixSpecifications
{
    MatrixSpecifications(std::size_t const nrows_, std::size_t const ncols_,
                         std::vector<GlobalIndexType> const*const ghost_indices_,
                         GlobalSparsityPattern const*const sparsity_pattern_)
        : nrows(nrows_), ncols(ncols_), ghost_indices(ghost_indices_)
        , sparsity_pattern(sparsity_pattern_)
    {
    }

    std::size_t const nrows;
    std::size_t const ncols;
    std::vector<GlobalIndexType> const*const ghost_indices;
    GlobalSparsityPattern const*const sparsity_pattern;
};

} // namespace MathLib
back to top