11/* *
2- * @file LoadEnzyme .cpp
2+ * @file LoadZEnzyme .cpp
33 * @author Nicholson Koukpaizan (koukpaizannk@ornl.gov)
44 *
55 */
66
77#include < GridKit/AutomaticDifferentiation/Enzyme/SparseJacobians.hpp>
88
9- #include " LoadImpl .hpp"
9+ #include " LoadZImpl .hpp"
1010
1111namespace GridKit
1212{
@@ -18,9 +18,9 @@ namespace GridKit
1818 * @return int - error code, 0 = success
1919 */
2020 template <typename scalar_type, typename index_type>
21- int Load <scalar_type, index_type>::evaluateJacobian()
21+ int LoadZ <scalar_type, index_type>::evaluateJacobian()
2222 {
23- Log::misc () << " Evaluate Jacobian for Load ..." << std::endl;
23+ Log::misc () << " Evaluate Jacobian for LoadZ ..." << std::endl;
2424 Log::misc () << " Jacobian evaluation is experimental!" << std::endl;
2525
2626 J_ .zeroMatrix ();
@@ -33,7 +33,7 @@ namespace GridKit
3333
3434 // DfDy call without alpha_ to indicate that df/dy' is null
3535 // @todo: deduce from a compile-time differential tag
36- GridKit::Enzyme::Sparse::DfDy<GridKit::PhasorDynamics::Load <ScalarT, IdxT>,
36+ GridKit::Enzyme::Sparse::DfDy<GridKit::PhasorDynamics::LoadZ <ScalarT, IdxT>,
3737 GridKit::Enzyme::Sparse::MemberFunctions::InternalResidual,
3838 ScalarT,
3939 IdxT>::eval (this ,
@@ -49,7 +49,7 @@ namespace GridKit
4949 J_vals_buffer_,
5050 J_ );
5151
52- GridKit::Enzyme::Sparse::DfDwb<GridKit::PhasorDynamics::Load <ScalarT, IdxT>,
52+ GridKit::Enzyme::Sparse::DfDwb<GridKit::PhasorDynamics::LoadZ <ScalarT, IdxT>,
5353 GridKit::Enzyme::Sparse::MemberFunctions::InternalResidual,
5454 ScalarT,
5555 IdxT>::eval (this ,
@@ -65,7 +65,7 @@ namespace GridKit
6565 J_vals_buffer_,
6666 J_ );
6767
68- GridKit::Enzyme::Sparse::DhDy<GridKit::PhasorDynamics::Load <ScalarT, IdxT>,
68+ GridKit::Enzyme::Sparse::DhDy<GridKit::PhasorDynamics::LoadZ <ScalarT, IdxT>,
6969 GridKit::Enzyme::Sparse::MemberFunctions::BusResidual,
7070 ScalarT,
7171 IdxT>::eval (this ,
@@ -85,8 +85,8 @@ namespace GridKit
8585 }
8686
8787 // Available template instantiations
88- template class Load <double , long int >;
89- template class Load <double , size_t >;
88+ template class LoadZ <double , long int >;
89+ template class LoadZ <double , size_t >;
9090
9191 } // namespace PhasorDynamics
9292} // namespace GridKit
0 commit comments