BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
op_VectorDivide.hpp
Go to the documentation of this file.
1/*
2 * BELFEM -- The Berkeley Lab Finite Element Framework
3 * Copyright (c) 2026, The Regents of the University of California,
4 * through Lawrence Berkeley National Laboratory (subject to receipt of any required
5 * approvals from the U.S. Dept. of Energy). All rights reserved.
6 *
7 * Developers: Christian Messe, Gregory Giard
8 *
9 * See the top-level LICENSE file for the complete license and disclaimer.
10 */
11
12#ifndef BELFEM_OP_VECTORDIV_HPP
13#define BELFEM_OP_VECTORDIV_HPP
14
15#include "cl_Vector.hpp"
16
17namespace belfem
18{
19//------------------------------------------------------------------------------
20
21 template< typename T >
22 inline auto
24 const T & aB )
25 -> decltype( aA.vector_data() / aB )
26 {
27
28 return aA.vector_data() / aB ;
29 }
30
31//------------------------------------------------------------------------------
32
33}
34#endif //BELFEM_OP_VECTORDIV_HPP
Column vector.
Definition cl_BZ_Vector.hpp:41
USER GUIDES:
Definition cl_Capacitor.cpp:16
auto operator/(const Vector< T > &aA, const T &aB) -> decltype(aA.vector_data()/aB)
Definition op_VectorDivide.hpp:23