Newer
Older
/***************************************************************************
-------------------
begin : Aug 2, 2014
copyright : (C) 2014 by Tomas Oberhuber
email : tomas.oberhuber@fjfi.cvut.cz
***************************************************************************/
/* See Copyright Notice in tnl/Copyright */
namespace Functions {
namespace Analytic {
__cuda_callable__
setConstant( const RealType& constant )
this->constant = constant;
return this->constant;
}
configSetup( Config::ConfigDescription& config,
const String& prefix )
{
config.addEntry < double >( prefix + "constant", "Value of the constant function.", 0.0 );
setup( const Config::ParameterContainer& parameters,
const String& prefix )
this->setConstant( parameters.getParameter< double >( prefix + "constant") );
template< int XDiffOrder,
int YDiffOrder,
if( XDiffOrder || YDiffOrder || ZDiffOrder )
return 0.0;