suanPan
B3DOSL.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright (C) 2017-2024 Theodore Chang
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 ******************************************************************************/
41#ifndef B3DOSL_H
42#define B3DOSL_H
43
44#include "B3DL.h"
45
46class B3DOSL final : public B3DL {
47 static const span sa, sb, sc, sd;
48
49public:
50 using B3DL::B3DL;
51
52 [[nodiscard]] OrientationType get_orientation_type() const override;
53
54 unique_ptr<Orientation> get_copy() override;
55
56 [[nodiscard]] vec to_local_vec(const vec&) const override;
57 [[nodiscard]] vec to_global_vec(const vec&) const override;
58 [[nodiscard]] mat to_global_mass_mat(const mat&) const override;
59 [[nodiscard]] mat to_global_stiffness_mat(const mat&) const override;
60};
61
62#endif
63
A B3DL class.
Definition: B3DL.h:47
A B3DOSL class.
Definition: B3DOSL.h:46
unique_ptr< Orientation > get_copy() override
Definition: B3DOSL.cpp:25
vec to_global_vec(const vec &) const override
transform anything from local to global system e.g., disp -> disp, vel -> vel, acc -> acc,...
Definition: B3DOSL.cpp:55
mat to_global_mass_mat(const mat &) const override
transform anything from local to global system e.g., stiffness -> stiffness.
Definition: B3DOSL.cpp:77
vec to_local_vec(const vec &) const override
transform anything from global to local system e.g., disp -> disp, vel -> vel, acc -> acc,...
Definition: B3DOSL.cpp:27
mat to_global_stiffness_mat(const mat &) const override
Definition: B3DOSL.cpp:79
OrientationType get_orientation_type() const override
Definition: B3DOSL.cpp:23
OrientationType
Definition: Orientation.h:38