I am trying to use the library, and I want to define manually the MMG5_pSol when is a tensor (MMG5_Tensor), but I don’t understand rightly how to do it. what I am doing right now is for vectors and is not correctly working for the tensors, I do the following:
double *ma;
ma = &mmgSol->m[node_id];`
ma[0] = coeff0;
ma[1] = 0.0;
ma[2] = coeff0;
ma[3] = 0.0;
ma[4] = 0.0;
ma[5] = coeff0;