Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
StreamMatrixBuilder.cc
1/*
2 * Copyright 2020 IFPEN-CEA
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 * SPDX-License-Identifier: Apache-2.0
17 */
18
19#include <alien/ref/handlers/stream/StreamMatrixBuilder.h>
20
21#undef ALIEN_IFPEN_STREAM_STREAMMATRIXBUILDER_CC
22
23/*---------------------------------------------------------------------------*/
24/*---------------------------------------------------------------------------*/
25
26namespace Alien
27{
28
29/*---------------------------------------------------------------------------*/
30/*---------------------------------------------------------------------------*/
31
32template class ALIEN_REFSEMANTIC_EXPORT StreamMatrixBuilderT<double>;
33
34#ifdef WIN32
35// These exports do not work on Win32 (july 2023). A fix is needed
36#ifdef FIXED_BUGGY_EXPORT
37template class ALIEN_IFPEN_EXPORT StreamMatrixBuilderT<double>::BaseInserter;
38template class ALIEN_IFPEN_EXPORT StreamMatrixBuilderT<double>::Profiler;
39template class ALIEN_IFPEN_EXPORT StreamMatrixBuilderT<double>::Filler;
40template class ALIEN_IFPEN_EXPORT StreamMatrixBuilderT<double>::Inserter;
41
42template ALIEN_IFPEN_EXPORT StreamMatrixBuilderT<double>::Filler&
43StreamMatrixBuilderT<double>::Filler::operator++();
44template ALIEN_IFPEN_EXPORT void StreamMatrixBuilderT<double>::Filler::start();
45template ALIEN_IFPEN_EXPORT void StreamMatrixBuilderT<double>::Filler::addBlockData(
46ConstArrayView<double> values);
47template ALIEN_IFPEN_EXPORT void StreamMatrixBuilderT<double>::Filler::addData(
48double values);
49template ALIEN_IFPEN_EXPORT void StreamMatrixBuilderT<double>::Filler::addData(
50ConstArrayView<double> values, double factor);
51
52template ALIEN_IFPEN_EXPORT void StreamMatrixBuilderT<double>::Profiler::addMatrixEntry(
53Integer row_index, Integer col_index);
54template ALIEN_IFPEN_EXPORT void StreamMatrixBuilderT<double>::Profiler::addMatrixEntries(
55const Integer row_index, ConstArrayView<Integer> col_index);
56template ALIEN_IFPEN_EXPORT Integer
58#endif
59
60#endif
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65} // namespace Alien
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
Integer getId() const
Identifiant de l'inserter dans son StreamMatrixBuilder.
void start()
Redémarre le filler au début.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition BackEnd.h:17