added stuff for SecSin1D which is just an ancored charge coundary condition