Factor out constraint function
Factor out constraint function

tovrstra/validation_eem_acks2_reaxff,tovrstra/validation_eem_acks2_reaxff,tovrstra/validation_eem_acks2_reaxff,tovrstra/validation_eem_acks2_reaxff