Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79299977
field.cc
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
Sun, Aug 25, 17:28
Size
2 KB
Mime Type
text/x-c++
Expires
Tue, Aug 27, 17:28 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
20170451
Attached To
rAKA akantu
field.cc
View Options
/**
* @file field.cc
*
* @author Guillaume Anciaux <guillaume.anciaux@epfl.ch>
*
* @date creation: Wed Dec 14 2011
* @date last modification: Thu Nov 01 2012
*
* @brief implementation of the Field class
*
* @section LICENSE
*
* Copyright (©) 2010-2012, 2014 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* IOHelper 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.
*
* IOHelper 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 IOHelper. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* -------------------------------------------------------------------------- */
#include "field.hh"
/* -------------------------------------------------------------------------- */
__BEGIN_IOHELPER__
/* -------------------------------------------------------------------------- */
template <>
FieldType Field<Real>::getFieldDataType(){
return REAL;
}
/* -------------------------------------------------------------------------- */
template <>
FieldType Field<UInt>::getFieldDataType(){
return UINT;
}
/* -------------------------------------------------------------------------- */
template <>
FieldType Field<bool>::getFieldDataType(){
return BOOL;
}
/* -------------------------------------------------------------------------- */
template <>
FieldType Field<int>::getFieldDataType(){
return INT;
}
/* -------------------------------------------------------------------------- */
template <>
FieldType Field<long int>::getFieldDataType(){
return INT;
}
/* -------------------------------------------------------------------------- */
__END_IOHELPER__
Event Timeline
Log In to Comment