Loading...
Searching...
No Matches
assign.h
// Copyright (C) 2013 Johan Hake
//
// This file is part of DOLFIN.
//
// DOLFIN is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// DOLFIN is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with DOLFIN. If not, see <http://www.gnu.org/licenses/>.
//
// First added: 2013-11-07
// Last changed: 2013-11-11
#ifndef __DOLFIN_ASSIGN_H
#define __DOLFIN_ASSIGN_H
#include <vector>
#include <memory>
namespace dolfin
{
class Function;
void assign(std::shared_ptr<Function> receiving_func,
std::shared_ptr<const Function> assigning_func);
void assign(std::shared_ptr<Function> receiving_func,
std::vector<std::shared_ptr<const Function>> assigning_funcs);
void assign(std::vector<std::shared_ptr<Function>> receiving_funcs,
std::shared_ptr<const Function> assigning_func);
}
#endif
dolfin::Function
Definition Function.h:66
dolfin
Definition adapt.h:30
dolfin::assign
void assign(std::shared_ptr< Function > receiving_func, std::shared_ptr< const Function > assigning_func)
Definition assign.cpp:27