From 487ff90504a4acc91210205e9dad3ee8e8ae3ad1 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 8 Mar 2017 10:04:49 +0100 Subject: [PATCH] #3068 BBTK Feature New Normal - bbstdVectorFilterDouble addition and sustraction --- packages/std/src/bbstdVectorFilterDouble.cxx | 37 +++++++++++++++++++- packages/std/src/bbstdVectorFilterDouble.h | 4 +-- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/packages/std/src/bbstdVectorFilterDouble.cxx b/packages/std/src/bbstdVectorFilterDouble.cxx index 0fb6621..af17d93 100644 --- a/packages/std/src/bbstdVectorFilterDouble.cxx +++ b/packages/std/src/bbstdVectorFilterDouble.cxx @@ -123,7 +123,7 @@ void VectorFilterDouble::Process() } // for ipLstVec } // Type==1 - if (bbGetInputType()==2) // Insert intermediate pointss + if (bbGetInputType()==2) // Insert intermediate points { int ipLstvec; int i; @@ -146,6 +146,40 @@ void VectorFilterDouble::Process() } // Type==2 + if (bbGetInputType()==3) // Addition k1 + { + int ipLstvec; + int i; + int size; + double result; + for (ipLstvec=0 ; ipLstvec,""); BBTK_INPUT(VectorFilterDouble,In1,"Input vector",std::vector,""); BBTK_INPUT(VectorFilterDouble,In2,"Input vector",std::vector,""); -- 2.47.1