dilevin / DGPCompFab

This repository stores the the assignments and lecture notes for the University of Toronto Graduate Course Computational Design and Fabrication
7 stars 4 forks source link

B should be Bu? #21

Closed FreakingBarbarians closed 5 years ago

FreakingBarbarians commented 5 years ago

in QuadratureLinearElasticityA4.h

        Eigen::Matrix<DataType, 6,12> B;
        B.setZero();

        //Setup the B matrix from the lecture notes
        //---- YOUR CODE HERE ----//
        // My code is a secret
        //---- END YOUR CODE HERE ----//

I'm not sure how to put the derivative function into B since the dphi imported from the Energy typename takes in double* as an arg. The best I think I can do us create Bu directly instead of B. Is that right or am I missing something?

FreakingBarbarians commented 5 years ago

Nevermind I'm dumb.