91 lines
4.8 KiB
C++
91 lines
4.8 KiB
C++
/*
|
|
Copyright 2013--2018 James E. McClure, Virginia Polytechnic & State University
|
|
Copyright Equnior ASA
|
|
|
|
This file is part of the Open Porous Media project (OPM).
|
|
OPM is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
OPM is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
You should have received a copy of the GNU General Public License
|
|
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
// clang-format off
|
|
#include "common/Array.h"
|
|
#include "common/Array.hpp"
|
|
#include "common/Utilities.h"
|
|
|
|
#include <complex>
|
|
|
|
|
|
/********************************************************
|
|
* Explicit instantiations of Array *
|
|
********************************************************/
|
|
template class Array<char,FunctionTable>;
|
|
template class Array<uint8_t,FunctionTable>;
|
|
template class Array<uint16_t,FunctionTable>;
|
|
template class Array<uint32_t,FunctionTable>;
|
|
template class Array<uint64_t,FunctionTable>;
|
|
template class Array<int8_t,FunctionTable>;
|
|
template class Array<int16_t,FunctionTable>;
|
|
template class Array<int32_t,FunctionTable>;
|
|
template class Array<int64_t,FunctionTable>;
|
|
template class Array<float,FunctionTable>;
|
|
template class Array<double,FunctionTable>;
|
|
template class Array<long double,FunctionTable>;
|
|
|
|
|
|
/********************************************************
|
|
* Explicit instantiations of Array<bool> *
|
|
********************************************************/
|
|
instantiateArrayConstructors( bool )
|
|
template Array<bool,FunctionTable>& Array<bool,FunctionTable>::operator=( const std::vector<bool>& );
|
|
template void Array<bool,FunctionTable>::clear();
|
|
template bool Array<bool,FunctionTable>::operator==(Array<bool,FunctionTable> const&) const;
|
|
template void Array<bool,FunctionTable>::resize( ArraySize const& );
|
|
|
|
|
|
/********************************************************
|
|
* Explicit instantiations of Array<std::complex> *
|
|
********************************************************/
|
|
instantiateArrayConstructors( std::complex<float> )
|
|
instantiateArrayConstructors( std::complex<double> )
|
|
template void Array<std::complex<float>,FunctionTable>::resize( ArraySize const& );
|
|
template void Array<std::complex<double>,FunctionTable>::resize( ArraySize const& );
|
|
template Array<std::complex<double>,FunctionTable>& Array<std::complex<double>,FunctionTable>::operator=(std::vector<std::complex<double>> const&);
|
|
template Array<std::complex<float>,FunctionTable>& Array<std::complex<float>,FunctionTable>::operator=(std::vector<std::complex<float>> const&);
|
|
template void Array<std::complex<float>,FunctionTable>::clear();
|
|
template void Array<std::complex<double>,FunctionTable>::clear();
|
|
template bool Array<std::complex<float>,FunctionTable>::operator==(Array<std::complex<float>,FunctionTable> const&) const;
|
|
template bool Array<std::complex<double>,FunctionTable>::operator==(Array<std::complex<double>,FunctionTable> const&) const;
|
|
template Array<std::complex<float>,FunctionTable> Array<std::complex<float>,FunctionTable>::repmat(std::vector<unsigned long> const&) const;
|
|
template Array<std::complex<double>,FunctionTable> Array<std::complex<double>,FunctionTable>::repmat(std::vector<unsigned long> const&) const;
|
|
template void Array<std::complex<float>,FunctionTable>::copySubset(std::vector<unsigned long> const&, Array<std::complex<float>,FunctionTable> const&);
|
|
template void Array<std::complex<double>,FunctionTable>::copySubset(std::vector<unsigned long> const&, Array<std::complex<double>,FunctionTable> const&);
|
|
template Array<std::complex<float>,FunctionTable> Array<std::complex<float>,FunctionTable>::subset(std::vector<unsigned long> const&) const;
|
|
template Array<std::complex<double>,FunctionTable> Array<std::complex<double>,FunctionTable>::subset(std::vector<unsigned long> const&) const;
|
|
template bool Array<std::complex<float>,FunctionTable>::NaNs() const;
|
|
template bool Array<std::complex<double>,FunctionTable>::NaNs() const;
|
|
|
|
|
|
/********************************************************
|
|
* Explicit instantiations of Array<std::string> *
|
|
********************************************************/
|
|
instantiateArrayConstructors( std::string )
|
|
template void Array<std::string,FunctionTable>::resize( ArraySize const& );
|
|
template void Array<std::string,FunctionTable>::clear();
|
|
template Array<std::string, FunctionTable> &Array<std::string, FunctionTable>::
|
|
operator=( const std::vector<std::string> & );
|
|
template bool Array<std::string>::operator==(Array<std::string> const&) const;
|
|
|
|
|
|
#if defined( USING_ICC )
|
|
ENABLE_WARNINGS
|
|
#endif
|
|
|
|
|