// $Id$
// Version: $Name$
//
-// Copyright (C) 2005, 2006 by the deal.II authors
+// Copyright (C) 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
* default for this parameter is false,
* i.e. use radians and not degrees.
*/
- void initialize (const std::string vars,
- const std::vector<std::string> expressions,
- const ConstMap constants,
+ void initialize (const std::string &vars,
+ const std::vector<std::string> &expressions,
+ const ConstMap &constants,
const bool time_dependent = false,
const bool use_degrees = false);
* parsed does not match the number of
* components of the base function.
*/
- void initialize (const std::string vars,
- const std::string expression,
- const ConstMap constants,
+ void initialize (const std::string &vars,
+ const std::string &expression,
+ const ConstMap &constants,
const bool time_dependent = false,
const bool use_degrees = false);
// $Id$
// Version: $Name$
//
-// Copyright (C) 2005, 2006 by the deal.II authors
+// Copyright (C) 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
#ifndef DEAL_II_DISABLE_PARSER
template <int dim>
-void FunctionParser<dim>::initialize (const std::string variables,
- const std::vector<std::string> expressions,
- const std::map<std::string, double> constants,
+void FunctionParser<dim>::initialize (const std::string &variables,
+ const std::vector<std::string> &expressions,
+ const std::map<std::string, double> &constants,
const bool time_dependent,
const bool use_degrees)
{
template <int dim>
-void FunctionParser<dim>::initialize (const std::string variables,
- const std::string expression,
- const std::map<std::string, double> constants,
+void FunctionParser<dim>::initialize (const std::string &variables,
+ const std::string &expression,
+ const std::map<std::string, double> &constants,
const bool time_dependent,
const bool use_degrees)
{