Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91170748
field_collection.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
Fri, Nov 8, 15:02
Size
1 KB
Mime Type
text/x-c
Expires
Sun, Nov 10, 15:02 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22205267
Attached To
rMUSPECTRE µSpectre
field_collection.hh
View Options
/**
* @file field_collection.hh
*
* @author Till Junge <till.junge@epfl.ch>
*
* @date 07 Sep 2017
*
* @brief Provides pixel-iterable containers for scalar and tensorial fields,
* addressable by field name
*
* Copyright © 2017 Till Junge
*
* µSpectre is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3, or (at
* your option) any later version.
*
* µSpectre 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
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GNU Emacs; see the file COPYING. If not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef FIELD_COLLECTION_H
#define FIELD_COLLECTION_H
#include "common/field_collection_global.hh"
#include "common/field_collection_local.hh"
namespace muSpectre {
/**
* Convenience aliases to unify the local and global
* Field_collection interface
*/
template <Dim_t DimS, Dim_t DimM, bool Global = true>
using FieldCollection = std::conditional_t<
Global,
GlobalFieldCollection<DimS, DimM>,
LocalFieldCollection<DimS, DimM>>;
} // muSpectre
#endif /* FIELD_COLLECTION_H */
Event Timeline
Log In to Comment