YaDICs  V04.14.a
Yet another Digital Image Correlation software: platform dedicated to 2/3D Fluid and Solid kinematics field measurements.
 All Classes Files Functions Variables Pages
CshapeFunction_global.h
Go to the documentation of this file.
1 /**********************************************************************
2  * Copyright (C) 2012, The YaDICs Project Developers.
3  * See the COPYRIGHT file at the top-level directory of this distribution ./COPYRIGHT.
4  * See ./COPYING file for copying and redistribution conditions.
5  *
6  * This file is part of YaDICs.
7  * YaDICs is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * YaDICs is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with YaDICs. If not, see <http://www.gnu.org/licenses/>.
19  *
20  * Information about how to use the software are provided at http://yadic.univ-lille1.fr/
21  **********************************************************************/
22 
23 
24 #ifndef CSHAPEFUNCTION_GLOBAL
25 #define CSHAPEFUNCTION_GLOBAL
26 
34 #include "CshapeFunction.h"
35 
39 template<typename T,typename Timg>
40 class CshapeFunction_global : public CshapeFunction<T,Timg>
41 {
42 
43  public:
44 
46  {// constructor
47 
48  this->class_name = "CshapeFunction_global";
49 
50  }
51 
52  virtual void init(CParameterNetCDF &fp)
53  {//fill m_mods vector with the name of required modes from parameter.nc
54 
55  fp.loadAttribute("modes",this->m_mods);
56  this->m_dof = this->m_mods.size();
57  if (this->m_verbose){std::cout<<"\tmodes : [ ";for (int i=0; i<this->m_mods.size(); i++){std::cout<<this->m_mods[i]<<" ";}std::cout<<"]\n";}
58 
59  }
60 
61 
62 };
63 
64 #endif
This is the mother class of shape function objets (virtual pure).
Definition: CshapeFunction.h:48
This is the mother class of global shape function objets (virtual pure). The vector which stores the ...
Definition: CshapeFunction_global.h:40