Mimetic Operators Library Enhanced 4.0
Loading...
Searching...
No Matches
mixedbc.h
Go to the documentation of this file.
1/*
2* SPDX-License-Identifier: GPL-3.0-or-later
3* © 2008-2024 San Diego State University Research Foundation (SDSURF).
4* See LICENSE file or https://www.gnu.org/licenses/gpl-3.0.html for details.
5*/
6
7/*
8 * @file mixedbc.h
9 * @author Johnny Corbino (johnnycorbino@gmail.com)
10 * @brief Header file for the Mixed Boundary Condition operator
11 * @version 0.1
12 * @date 2024-08-03
13 *
14 * @copyright Copyright (c) 2024
15 *
16 */
17
18#ifndef MIXEDBC_H
19#define MIXEDBC_H
20
21#include "gradient.h"
22
27class MixedBC : public sp_mat {
28
29public:
30 using sp_mat::operator=;
31
45 MixedBC(u16 k, u32 m, Real dx, const std::string &left,
46 const std::vector<Real> &coeffs_left, const std::string &right,
47 const std::vector<Real> &coeffs_right);
48
70 MixedBC(u16 k, u32 m, Real dx, u32 n, Real dy, const std::string &left,
71 const std::vector<Real> &coeffs_left, const std::string &right,
72 const std::vector<Real> &coeffs_right, const std::string &bottom,
73 const std::vector<Real> &coeffs_bottom, const std::string &top,
74 const std::vector<Real> &coeffs_top);
75
105 MixedBC(u16 k, u32 m, Real dx, u32 n, Real dy, u32 o, Real dz,
106 const std::string &left, const std::vector<Real> &coeffs_left,
107 const std::string &right, const std::vector<Real> &coeffs_right,
108 const std::string &bottom, const std::vector<Real> &coeffs_bottom,
109 const std::string &top, const std::vector<Real> &coeffs_top,
110 const std::string &front, const std::vector<Real> &coeffs_front,
111 const std::string &back, const std::vector<Real> &coeffs_back);
112};
113
114#endif // MIXEDBC_H
MixedBC(u16 k, u32 m, Real dx, const std::string &left, const std::vector< Real > &coeffs_left, const std::string &right, const std::vector< Real > &coeffs_right)
1-D Constructor
Definition mixedbc.cpp:18
double Real
Definition utils.h:21