/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License This file is part of OpenFOAM. OpenFOAM 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. OpenFOAM 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 OpenFOAM. If not, see . \*---------------------------------------------------------------------------*/ // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // template inline Foam::RowVector::RowVector() {} template inline Foam::RowVector::RowVector(const Foam::zero) : RowVector::msType(Zero) {} template template inline Foam::RowVector::RowVector ( const MatrixSpace, Cmpt2, 1, 3>& ms ) : RowVector::msType(ms) {} template inline Foam::RowVector::RowVector ( const Cmpt& rvx, const Cmpt& rvy, const Cmpt& rvz ) { this->v_[X] = rvx; this->v_[Y] = rvy; this->v_[Z] = rvz; } template inline Foam::RowVector::RowVector(Istream& is) : RowVector::msType(is) {} // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template inline const Cmpt& Foam::RowVector::x() const { return this->v_[X]; } template inline const Cmpt& Foam::RowVector::y() const { return this->v_[Y]; } template inline const Cmpt& Foam::RowVector::z() const { return this->v_[Z]; } template inline Cmpt& Foam::RowVector::x() { return this->v_[X]; } template inline Cmpt& Foam::RowVector::y() { return this->v_[Y]; } template inline Cmpt& Foam::RowVector::z() { return this->v_[Z]; } // ************************************************************************* //