DOLFIN
DOLFIN C++ interface
Toggle main menu visibility
Loading...
Searching...
No Matches
dolfin
function
assign.h
1
// Copyright (C) 2013 Johan Hake
2
//
3
// This file is part of DOLFIN.
4
//
5
// DOLFIN is free software: you can redistribute it and/or modify
6
// it under the terms of the GNU Lesser General Public License as published by
7
// the Free Software Foundation, either version 3 of the License, or
8
// (at your option) any later version.
9
//
10
// DOLFIN is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU Lesser General Public License for more details.
14
//
15
// You should have received a copy of the GNU Lesser General Public License
16
// along with DOLFIN. If not, see <http://www.gnu.org/licenses/>.
17
//
18
// First added: 2013-11-07
19
// Last changed: 2013-11-11
20
21
#ifndef __DOLFIN_ASSIGN_H
22
#define __DOLFIN_ASSIGN_H
23
24
#include <vector>
25
#include <memory>
26
27
namespace
dolfin
28
{
29
30
class
Function
;
31
40
void
assign
(std::shared_ptr<Function> receiving_func,
41
std::shared_ptr<const Function> assigning_func);
42
52
void
assign
(std::shared_ptr<Function> receiving_func,
53
std::vector<std::shared_ptr<const Function>> assigning_funcs);
54
64
void
assign
(std::vector<std::shared_ptr<Function>> receiving_funcs,
65
std::shared_ptr<const Function> assigning_func);
66
67
}
68
69
#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
Generated by
1.17.0