Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82381296
compute_concat.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Sep 11, 02:34
Size
1 KB
Mime Type
text/x-c++
Expires
Fri, Sep 13, 02:34 (2 d)
Engine
blob
Format
Raw Data
Handle
20692250
Attached To
rLIBMULTISCALE LibMultiScale
compute_concat.hh
View Options
/**
* @file compute_concat.hh
*
* @author Guillaume Anciaux <guillaume.anciaux@epfl.ch>
*
* @date Tue Dec 10 16:00:49 2013
*
* @brief This is a compute which allows the concatenation of several computes
*
* @section LICENSE
*
* Copyright (©) 2010-2011 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* LibMultiScale 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.
*
* LibMultiScale 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 LibMultiScale. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef __LIBMULTISCALE_COMPUTE_CONCAT_HH__
#define __LIBMULTISCALE_COMPUTE_CONCAT_HH__
/* -------------------------------------------------------------------------- */
#include "compute_interface.hh"
/* -------------------------------------------------------------------------- */
__BEGIN_LIBMULTISCALE__
class
ComputeConcat
:
public
ComputeInterface
{
public
:
DECLARE_COMPUTE
(
ComputeConcat
,
_or
<
ARRAY
,
COMPONENT
>
);
public
:
template
<
typename
T
>
enable_if_not_component
<
T
>
build
(
T
&
cont
);
template
<
typename
T
>
enable_if_component
<
T
>
build
(
T
&
cont
);
protected
:
void
register_additional_computes
();
template
<
typename
T
>
void
register_output
(
T
&
cont
);
template
<
typename
T
>
void
register_outputs
(
T
&
cont
);
std
::
vector
<
LMID
>
list_computes
;
};
/* -------------------------------------------------------------------------- */
__END_LIBMULTISCALE__
#endif
/* __LIBMULTISCALE_COMPUTE_CONCAT_HH__ */
Event Timeline
Log In to Comment