In the case an pv::PartitionedVector has pv.simulate_vector == true, then try to use only the Vectorpv.epv.v.
In that case, most operations must be reimplemented to distinguish the cases pv.simulate_vector == true and pv.simulate_vector == false.
Also, the broadcast mechanism must be adapted, such that either :
broadcast between PartitionedVector and Vector is supported
we identify first that all PartitionedVectors have pv.simulate_vector == true to then apply the broadcast on their respective pv.epv.v.
In the case an
pv::PartitionedVector
haspv.simulate_vector == true
, then try to use only theVector
pv.epv.v
. In that case, most operations must be reimplemented to distinguish the casespv.simulate_vector == true
andpv.simulate_vector == false
. Also, the broadcast mechanism must be adapted, such that either :PartitionedVector
andVector
is supportedPartitionedVector
s havepv.simulate_vector == true
to then apply the broadcast on their respectivepv.epv.v
.