source term implemented.
fixed compmapptr initialization.