Skip to content
Snippets Groups Projects
Commit 8addfb1c authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Adding staggered utils

parent c5ace6cb
No related branches found
No related tags found
No related merge requests found
/*
* staggered_util.hpp
*
* Created on: Aug 19, 2015
* Author: i-bird
*/
#ifndef SRC_GRID_STAGGERED_UTIL_HPP_
#define SRC_GRID_STAGGERED_UTIL_HPP_
#include "variadic_to_vmpl.hpp"
/*! Meta-function to apply to the vector
*
*/
template<typename arg0, typename T>
struct F
{
typedef grid_cpu<arg0::value,T> type;
};
/*! \brief Create staggered data vector
*
* \param s_ele boost::fusion::vector of elements
*
*/
template <typename s_ele>
struct create_stag_data
{
typedef v_transform<,s_ele>
};
#endif /* SRC_GRID_STAGGERED_UTIL_HPP_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment