MAST
coordinate_base.h
Go to the documentation of this file.
1 /*
2  * MAST: Multidisciplinary-design Adaptation and Sensitivity Toolkit
3  * Copyright (C) 2013-2019 Manav Bhatia
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 
21 #ifndef __mast__coordinate_base__
22 #define __mast__coordinate_base__
23 
24 
25 // MAST includes
27 
28 
29 namespace MAST {
30 
37  public MAST::FieldFunction<RealMatrixX> {
38 
39  public:
40 
41  CoordinateBase(const std::string& nm);
42 
51  RealMatrixX& mat) const;
52 
53 
55  const RealMatrixX& dT,
56  RealMatrixX& mat) const;
57  protected:
58 
59  };
60 }
61 
62 
63 
64 
65 #endif // __mast__coordinate_base__
Matrix< Real, Dynamic, Dynamic > RealMatrixX
This creates the base class for functions that have a saptial and temporal dependence, and provide sensitivity operations with respect to the functions and parameters.
void stress_strain_transformation_matrix(const RealMatrixX &T, RealMatrixX &mat) const
prepares the matrix mat that transforms stress and strain tensors represented in a 6x1 vector from th...
void stress_strain_transformation_matrix_sens(const RealMatrixX &T, const RealMatrixX &dT, RealMatrixX &mat) const
CoordinateBase(const std::string &nm)
Provides the transformation matrix T to transform vector from the orientation provided in this matrix...