PurposeTo provide a computational strategy for highly accurate analyses of non‐linear inelastic behaviour for heterogeneous structures in civil and mechanical engineering applicationsDesign/methodology/approachAdapts recent developments on mathematical formulations of multi‐scale problems to the recently developed component technology based on C++ generic templates programming.FindingsProvides the understanding how theoretical hypotheses, concerning essentially the multi‐scale interface conditions, affect the computational precision of the strategy.Practical implicationsThe present approach allows a very precise modelling of multi‐scale aspects in structural mechanics problems and can play an essential tool in searching for an optimal structural design.Originality/valueProvides all the ingredients for constructing an efficient multi‐scale computational framework, from the theoretical formulation to the implementation for parallel computing. It is addressed to researchers and engineers analysing composite structures under extreme loading.