Treecode solver for the calculation of demagnetizing field in general domains. — SciRadar