Page MenuHomec4science

compute_compatibility.hh
No OneTemporary

File Metadata

Created
Sun, Aug 4, 15:23

compute_compatibility.hh

/**
* @file compute_compatibility.hh
*
* @author Guillaume Anciaux <guillaume.anciaux@epfl.ch>
*
* @date Mon May 06 20:59:51 2013
*
* @brief This is a compute to be used internally allowing any components to register computed values to the central system thus accessible within the configuration file
*
* @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_COMPATIBILITY_HH__
#define __LIBMULTISCALE_COMPUTE_COMPATIBILITY_HH__
/* -------------------------------------------------------------------------- */
#include "compute.hh"
/* -------------------------------------------------------------------------- */
__BEGIN_LIBMULTISCALE__
template <typename _Input = ComponentNull>
class ComputeCompatibility : public Compute<_Input> {
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public:
ComputeCompatibility(const std::string & name,UInt dim):Compute<_Input>(name,dim){
this->setRelease(UINT_MAX);
};
virtual ~ComputeCompatibility(){};
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
virtual void build(){};
void build(_Input & input){};
void visit(ComponentLMOut<_Input> & obj){LM_TOIMPLEMENT;};
};
__END_LIBMULTISCALE__
/* -------------------------------------------------------------------------- */
#endif /* __LIBMULTISCALE_COMPUTE_COMPATIBILITY_HH__ */

Event Timeline