//! take responsibility for a pixel identified by its cell coordinates
//! TODO: this won't work. for materials with additional info per pixel (as, e.g. for eigenstrain), we need to pass more parameters, so this needs to be a variadic function.
voidadd_pixel(constCcoord&ccord);
//! allocate memory, etc
//! TODO: this won't work. for materials with additional info per pixel (see above TODO), we neet to allocate before we know for sure how many pixels the material is responsible for.
virtualvoidinitialize(boolstiffness=false)=0;
//! computes the first Piola-Kirchhoff stress for finite strain problems
virtualvoidcompute_stress(constStrainMap_t&F,
StressMap_t&P);
//! computes the first Piola-Kirchhoff stress and the tangent stiffness