hdiv/hcurl shape optimization