Commit 2d2c6b91 authored by Santiago Ospina's avatar Santiago Ospina
Browse files

Remove license from classes & solve matrices of flux reconstruction when...


Remove license from classes & solve matrices of flux reconstruction when (polynomial) order higher than 1
Signed-off-by: Santiago Ospina De Los Ríos's avatarSantiago Ospina <santiago.ospina@iup.uni-heidelberg.de>
parent f1706f0e
......@@ -32,13 +32,12 @@ namespace Dorie{
* directly to the global solution vector. (You have to be aware of
* this if for some reason you are not using this class for raviart
* thomas reconstruction).
*
* @warning This engeine always enfoce two side visit to the global
* assembler.
* @remark This assembler was written following the
* Dune::PDELab::LocalAssemblerEngine interface.
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
* @ingroup FluxReconstruction
*
* @see Dune::Dorie::VolumeRaviartThomasLocalFiniteElement.
......@@ -283,18 +282,18 @@ public:
// get polynomial degree
const int order = lfsu.finiteElement().localBasis().order();
if (order > 0)
if (order > 1)
{
for (unsigned int i = 0; i < lfsu.size(); ++i)
xl(lfsu,i) = r_vec[i];
global_sl_view.write(xl);
} else {
x_vec.resize(lfsu_cache.size(),0.0);
m_matrix.solve(x_vec,r_vec);
for (unsigned int i = 0; i < lfsu.size(); ++i)
xl(lfsu,i) = x_vec[i];
global_sl_view.write(xl);
} else {
for (unsigned int i = 0; i < lfsu.size(); ++i)
xl(lfsu,i) = r_vec[i];
global_sl_view.write(xl);
}
}
//! @}
......@@ -364,7 +363,7 @@ public:
// get polynomial degree
const int order = lfsu.finiteElement().localBasis().order();
if (order > 0)
if (order > 1)
{
using LFSU = typename LFSUC::LocalFunctionSpace;
using FESwitchTrial = Dune::FiniteElementInterfaceSwitch<typename LFSU::Traits::FiniteElementType>;
......
......@@ -20,9 +20,8 @@ namespace Dorie{
* is because the user is expecting a local function space as an
* argument of the local operator (even though not too many really
* know how a local function space looks like ¬_¬).
*
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
* @ingroup FluxReconstruction
*
* @tparam GFS The GridFunctionSpace.
......
......@@ -115,9 +115,9 @@ struct RaviartThomasLocalFiniteElementMapBaseSelector<
* @warning This map should not be used to solve finite element problems. For
* that purpose use the
* Dune::PDELab::RaviartThomasLocalFiniteElementMap class directly.
*
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
*
* @ingroup FluxReconstruction
*
* @tparam GV The Gird view.
......
......@@ -41,8 +41,6 @@ namespace Dorie{
* Dune::PDELab::LocalFunctionSpace.
*
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
* @ingroup FluxReconstruction
* @see Dune::Dorie::SkeletonQkFiniteElementMap.
* @see Dune::Dorie::SkeletonFiniteElementMap.
......@@ -168,8 +166,6 @@ public:
* Dune::PDELab::LocalFunctionSpace.
*
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
* @ingroup FluxReconstruction
* @see Dune::Dorie::SkeletonPkFiniteElementMap.
* @see Dune::Dorie::SkeletonFiniteElementMap.
......@@ -294,8 +290,7 @@ public:
* Dune::PDELab::LocalFunctionSpace.
*
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
*
* @ingroup FluxReconstruction
* @see Dune::Dorie::SkeletonQkFiniteElementMap.
* @see Dune::Dorie::SkeletonPkFiniteElementMap.
......
......@@ -27,8 +27,6 @@ namespace Dorie{
*
* @author Santiago Ospina De Los Ríos implemented it in DORiE out of source
* files sent by Marian Piatkowski.
* @date 2018
* @copyright MIT License.
* @ingroup FluxReconstruction
* @see Dune::Dorie::VolumeRaviartThomasLocalFiniteElement.
*
......
......@@ -22,8 +22,6 @@ namespace Dorie{
* the local keys are the same.
*
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
* @ingroup FluxReconstruction
* @see Dune::Dorie::VolumeRaviartThomasLocalFiniteElement.
*
......
......@@ -17,8 +17,6 @@ namespace Dorie{
* so, the usage of this class always throws an error.
*
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
* @ingroup FluxReconstruction
* @see Dune::Dorie::VolumeRaviartThomasLocalFiniteElement.
*/
......
......@@ -27,8 +27,6 @@ namespace Dorie{
* <td>✓</td> <td>✓</td> <td>✗</td> </tr> </table>
*
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
* @ingroup FluxReconstruction
* @see Dune::Dorie::VolumeRaviartThomasLocalFiniteElement.
*
......
......@@ -31,8 +31,6 @@ namespace Dorie{
* <td>✗</td> </tr> </table>
*
* @author Santiago Ospina De Los Ríos
* @date 2018
* @copyright MIT License.
* @ingroup FluxReconstruction
* @see Dune::Dorie::VolumeRaviartThomasLocalBasis.
* @see Dune::Dorie::VolumeRaviartThomasLocalCoefficients.
......
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment