Commit c15edd95 authored by Bastien Jordi's avatar Bastien Jordi

Files added.

parent 0404497e
/*
* AdvectionSystem.cpp
*
* Created on: 28 May 2014
* Author: cc
*/
#include <SolverUtils/AdvectionSystem.h>
namespace Nektar {
namespace SolverUtils {
AdvectionSystem::AdvectionSystem(const LibUtilities::SessionReaderSharedPtr& pSession)
: UnsteadySystem(pSession)
{
}
AdvectionSystem::~AdvectionSystem()
{
}
//////////////////////////////////////////////////////////////////////////////////////////////
void AdvectionSystem::UpdateBaseFlow(const Array<OneD, Array<OneD, NekDouble> > &inarray)
{
ASSERTL0(false,"This function is not defined in parent class");
}
//////////////////////////////////////////////////////////////////////////////////////////////
}
}
\ No newline at end of file
///////////////////////////////////////////////////////////////////////////////
//
// File AdvectionSystem.h
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, Imperial College London (UK), and Scientific
// Computing and Imaging Institute, University of Utah (USA).
//
// License for the specific language governing rights and limitations under
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
// Description: Advection system
//
///////////////////////////////////////////////////////////////////////////////
#ifndef NEKTAR_SOLVERUTILS_ADVECTIONSYSTEM_H
#define NEKTAR_SOLVERUTILS_ADVECTIONSYSTEM_H
#include <SolverUtils/UnsteadySystem.h>
#include <SolverUtils/Advection/Advection.h>
#include <SolverUtils/Advection/AdvectionTerm.h>
namespace Nektar {
namespace SolverUtils {
class AdvectionSystem: public UnsteadySystem
{
public:
AdvectionSystem(const LibUtilities::SessionReaderSharedPtr &pSession);
virtual ~AdvectionSystem();
AdvectionSharedPtr GetAdvObject()
{
return m_advObject;
}
//////////////////////////////////////////////////////////////////////////////////////////////
// AdvectionTermSharedPtr GetAdvObject_IncNS()
// {
// return m_advObject_IncNS;
// }
void UpdateBaseFlow(const Array<OneD, Array<OneD, NekDouble> > &inarray);
//////////////////////////////////////////////////////////////////////////////////////////////
protected:
/// Advection term
SolverUtils::AdvectionSharedPtr m_advObject;
//////////////////////////////////////////////////////////////////////////////////////////////
// SolverUtils::AdvectionTermSharedPtr m_advObject_IncNS;
//////////////////////////////////////////////////////////////////////////////////////////////
};
typedef boost::shared_ptr<AdvectionSystem> AdvectionSystemSharedPtr;
}
}
#endif
\ No newline at end of file
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