MAST
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
complex_assembly_elem_operations.cpp
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
// MAST includes
21
#include "
base/complex_assembly_elem_operations.h
"
22
#include "
base/elem_base.h
"
23
24
25
MAST::ComplexAssemblyElemOperations::ComplexAssemblyElemOperations
():
26
MAST
::
AssemblyElemOperations
() {
27
28
}
29
30
31
32
MAST::ComplexAssemblyElemOperations::~ComplexAssemblyElemOperations
() {
33
34
}
35
36
37
void
38
MAST::ComplexAssemblyElemOperations::set_elem_complex_solution
(
const
ComplexVectorX
&sol) {
39
40
_physics_elem
->
set_complex_solution
(sol);
41
}
42
43
44
void
45
MAST::ComplexAssemblyElemOperations::set_elem_complex_solution_sensitivity
(
const
ComplexVectorX
&sol) {
46
47
_physics_elem
->
set_complex_solution
(sol,
true
);
48
}
49
MAST::AssemblyElemOperations
Definition:
assembly_elem_operation.h:41
MAST::ComplexAssemblyElemOperations::set_elem_complex_solution_sensitivity
virtual void set_elem_complex_solution_sensitivity(const ComplexVectorX &sol)
sets the element complex solution
Definition:
complex_assembly_elem_operations.cpp:45
ComplexVectorX
Matrix< Complex, Dynamic, 1 > ComplexVectorX
Definition:
mast_data_types.h:37
MAST::ComplexAssemblyElemOperations::~ComplexAssemblyElemOperations
virtual ~ComplexAssemblyElemOperations()
Definition:
complex_assembly_elem_operations.cpp:32
elem_base.h
MAST::AssemblyElemOperations::_physics_elem
MAST::ElementBase * _physics_elem
Definition:
assembly_elem_operation.h:177
MAST::ComplexAssemblyElemOperations::set_elem_complex_solution
virtual void set_elem_complex_solution(const ComplexVectorX &sol)
sets the element complex solution
Definition:
complex_assembly_elem_operations.cpp:38
MAST::ComplexAssemblyElemOperations::ComplexAssemblyElemOperations
ComplexAssemblyElemOperations()
Definition:
complex_assembly_elem_operations.cpp:25
MAST::ElementBase::set_complex_solution
virtual void set_complex_solution(const ComplexVectorX &vec, bool if_sens=false)
This provides the complex solution (or its sensitivity if if_sens is true.) for frequecy-domain analy...
Definition:
elem_base.cpp:86
MAST
Definition:
flutter_root_base.h:27
complex_assembly_elem_operations.h
src
base
complex_assembly_elem_operations.cpp
Generated by
1.8.11