I was trying to move some code around related to the vars typically called Ke 
and Fe
but encountered several errors due to missing ctor or operators such as 
assignment.
Can someone comment on the benefit of or need for these restrictions? I was 
trying to clean up
my own code a bit and debating about how to handle things which seem to often
be compile time constants. One possibility is to create a code generator that
creates specific c++ code for a given set of conditions. This is ok if there 
are some
compiler optimizations that just not easy with other approaches. Thanks. 

   DMN  Ke; DVN Fe;
    //DSM Ke_var; DSV Fe_var;
    DSM Ke_var; // [mla.nvar][mla.nvar]; 
    DSV Fe_var; // [mla.nvar] ; 
//  InitMats(Ke,Fe,Ke_var,Fe_var,mla.nvar);

//const IdxTy dofsz=dof_indices.size();
//const IdxTy dofsz=mla.di.dof_indices_var[0].size();
//Ke.resize (dofsz,dofsz); Fe.resize (dofsz); 
/*
    DSM Ke_var[mla.nvar][mla.nvar] =
      {
        { DSM(Ke), DSM(Ke), DSM(Ke), DSM(Ke)},
        { DSM(Ke), DSM(Ke), DSM(Ke), DSM(Ke)},
        { DSM(Ke), DSM(Ke), DSM(Ke), DSM(Ke)},
        { DSM(Ke), DSM(Ke), DSM(Ke), DSM(Ke)}
      };

    DSV Fe_var[mla.nvar] = {DSV(Fe), DSV(Fe), DSV(Fe), DSV(Fe) };


note new address 
 Mike Marchywka 306 Charles Cox Drive Canton, GA 30115
 2295 Collinworth  Drive Marietta GA 30062.  formerly 487 Salem Woods Drive 
Marietta GA 30067 404-788-1216 (C)<- leave message 989-348-4796 (P)<- emergency 
                                      
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to