Adaptation and surface modeling for cartesian mesh methods