Revision 6c9b2bd7dc6837bf459c9ceaa80114d0cbc15f10 authored by Dmitry Yu. Naumov on 23 March 2021, 15:07:49 UTC, committed by Dmitry Yu. Naumov on 23 March 2021, 15:07:49 UTC
[CMake] Third-party license, ccache setup and msvc folder See merge request ogs/ogs!3535
GaussLegendre.cpp
/**
* \author Norihiro Watanabe
* \date 2013-08-13
*
* \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
*/
#include "GaussLegendre.h"
namespace MathLib
{
template <> double const GaussLegendre<1>::X[1] = {0.};
template <> double const GaussLegendre<1>::W[1] = {2.};
template <> double const GaussLegendre<2>::X[2] = {0.577350269189626, -0.577350269189626};
template <> double const GaussLegendre<2>::W[2] = {1., 1.};
template <> double const GaussLegendre<3>::X[3] = {0.774596669241483, 0., -0.774596669241483};
template <> double const GaussLegendre<3>::W[3] = {5./9, 8./9, 5./9};
template <> double const GaussLegendre<4>::X[4] =
{-0.861136311594053, -0.339981043584856, 0.339981043584856, 0.861136311594053};
template <> double const GaussLegendre<4>::W[4] =
{ 0.347854845137454, 0.652145154862546, 0.652145154862546, 0.347854845137454};
} // namespace MathLib
Computing file changes ...