@@ -384,8 +384,8 @@ bool CONTACT::Coupling3d::slave_vertex_linearization(
384384 sIntEle ->node_linearization (nodelin);
385385
386386 // map iterator
387- typedef Core::Gen::Pairedvector<int , double >::const_iterator
388- _CI ; // linearization of element center Auxc()
387+ using _CI = Core::Gen::Pairedvector<int ,
388+ double >::const_iterator ; // linearization of element center Auxc()
389389 std ::vector<Core::Gen::Pairedvector<int , double >> linauxc (
390390 3 , slave_element ().num_node ()); // assume 3 dofs per node
391391
@@ -523,8 +523,8 @@ bool CONTACT::Coupling3d::master_vertex_linearization(
523523 sIntEle ->node_linearization (snodelin);
524524
525525 // map iterator
526- typedef Core::Gen::Pairedvector<int , double >::const_iterator
527- _CI ; // linearization of element center Auxc()
526+ using _CI = Core::Gen::Pairedvector<int ,
527+ double >::const_iterator ; // linearization of element center Auxc()
528528 std ::vector<Core::Gen::Pairedvector<int , double >> linauxc (
529529 3 , slave_element ().num_node ()); // assume 3 dofs per node
530530
@@ -639,7 +639,7 @@ bool CONTACT::Coupling3d::lineclip_vertex_linearization(const Mortar::Vertex& cu
639639 const int nmrows = master_int_element ().num_node ();
640640
641641 // iterator
642- typedef Core::Gen::Pairedvector<int , double >::const_iterator _CI ;
642+ using _CI = Core::Gen::Pairedvector<int , double >::const_iterator;
643643
644644 // compute factor Z
645645 std::array<double , 3 > crossZ = {0.0 , 0.0 , 0.0 };
@@ -840,7 +840,7 @@ bool CONTACT::Coupling3d::center_linearization(
840840{
841841 // preparations
842842 int clipsize = (int )(clip ().size ());
843- typedef Core::Gen::Pairedvector<int , double >::const_iterator CI ;
843+ using CI = Core::Gen::Pairedvector<int , double >::const_iterator;
844844
845845 // number of nodes
846846 const int nsrows = slave_element ().num_node ();
@@ -1689,7 +1689,7 @@ void CONTACT::Coupling3dManager::consistent_dual_shape()
16891689
16901690 // various variables
16911691 double detg = 0.0 ;
1692- typedef Core::Gen::Pairedvector<int , double >::const_iterator _CI ;
1692+ using _CI = Core::Gen::Pairedvector<int , double >::const_iterator;
16931693
16941694 // initialize matrices de and me
16951695 Core::LinAlg::SerialDenseMatrix me (nnodes, nnodes, true );
@@ -1928,8 +1928,8 @@ void CONTACT::Coupling3dManager::consistent_dual_shape()
19281928 // (this is done according to a quite complex formula, which
19291929 // we get from the linearization of the biorthogonality condition:
19301930 // Lin (Me * Ae = De) -> Lin(Ae)=Lin(De)*Inv(Me)-Ae*Lin(Me)*Inv(Me) )
1931- typedef Core::Gen::Pairedvector<int ,
1932- Core::LinAlg::Matrix<max_nnodes + 1 , max_nnodes>>::const_iterator _CIM ;
1931+ using _CIM = Core::Gen::Pairedvector<int ,
1932+ Core::LinAlg::Matrix<max_nnodes + 1 , max_nnodes>>::const_iterator;
19331933 for (_CIM p = derivde_new.begin (); p != derivde_new.end (); ++p)
19341934 {
19351935 Core::LinAlg::Matrix<max_nnodes + 1 , max_nnodes>& dtmp = derivde_new[p->first ];
0 commit comments