[ET Trac] [Einstein Toolkit] #2216: Vectors: allow seamless interaction with scalar types
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Jan 10 06:54:25 CST 2019
#2216: Vectors: allow seamless interaction with scalar types
---------------------------------+-----------------------------------
Reporter: Roland Haas | Type: enhancement
Status: new | Priority: minor
Milestone: | Component: EinsteinToolkit thorn
Version: development version | Keywords: Vectors
---------------------------------+-----------------------------------
* Vectors: allow implicit cast from scalar_t
* Vectors: provide binary operations with scalars
one needs both
{{{
operatorX(T, vectype<T>)
}}}
and
{{{
operatorX(vectype<T>, T)
}}}
for both commuting and non-commuting operators
Pull request is here: https://bitbucket.org/cactuscode/cactusutils/pull-
requests/16/rhaas-inclict-conv/diff
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2216>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list