function for const-boundary-condition-writer