MAST
eigenproblem_assembly_elem_operations.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 #ifndef __mast_eigenproblem_assembly_elem_operations_h__
21 #define __mast_eigenproblem_assembly_elem_operations_h__
22 
23 // MAST includes
25 #include "base/mast_data_types.h"
26 
27 namespace MAST {
28 
29  // Forward declerations
30  class LevelSetIntersection;
31  template <typename ValType> class FieldFunction;
32 
35 
36  public:
38 
40 
41 
47  virtual void
49  RealMatrixX& mat_B) = 0;
50 
56  virtual void
58  bool base_sol,
59  RealMatrixX& mat_A,
60  RealMatrixX& mat_B) = 0;
61 
65  virtual void
67  bool base_sol,
69  RealMatrixX& mat_A,
70  RealMatrixX& mat_B) = 0;
71 
72  protected:
73 
74  };
75 }
76 
77 
78 
79 #endif // __mast_eigenproblem_assembly_elem_operations_h__
virtual void elem_topology_sensitivity_calculations(const MAST::FunctionBase &f, bool base_sol, const MAST::FieldFunction< RealVectorX > &vel, RealMatrixX &mat_A, RealMatrixX &mat_B)=0
performs the element topology sensitivity calculations over elem.
virtual void elem_calculations(RealMatrixX &mat_A, RealMatrixX &mat_B)=0
performs the element calculations over elem, and returns the element matrices for the eigenproblem ...
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.
virtual void elem_sensitivity_calculations(const MAST::FunctionBase &f, bool base_sol, RealMatrixX &mat_A, RealMatrixX &mat_B)=0
performs the element sensitivity calculations over elem, and returns the element matrices for the eig...