MAST
complex_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_complex_assembly_elem_operations_h__
21 #define __mast_complex_assembly_elem_operations_h__
22 
23 // MAST includes
25 #include "base/mast_data_types.h"
26 
27 namespace MAST {
28 
31 
32  public:
34 
36 
40  virtual void set_elem_complex_solution(const ComplexVectorX& sol);
41 
46 
47 
54  virtual void elem_calculations(bool if_jac,
55  ComplexVectorX& vec,
56  ComplexMatrixX& mat) = 0;
57 
63  ComplexVectorX& vec) = 0;
64 
65  protected:
66 
67  };
68 
69 }
70 #endif // __mast_complex_assembly_elem_operations_h__
virtual void set_elem_complex_solution_sensitivity(const ComplexVectorX &sol)
sets the element complex solution
Matrix< Complex, Dynamic, 1 > ComplexVectorX
virtual void elem_sensitivity_calculations(const MAST::FunctionBase &f, ComplexVectorX &vec)=0
performs the element sensitivity calculations over elem, and returns the element residual sensitivity...
Matrix< Complex, Dynamic, Dynamic > ComplexMatrixX
virtual void set_elem_complex_solution(const ComplexVectorX &sol)
sets the element complex solution
virtual void elem_calculations(bool if_jac, ComplexVectorX &vec, ComplexMatrixX &mat)=0
performs the element calculations over elem, and returns the element vector and matrix quantities in ...