25 #include <queso/GcmZInfo.h>
26 #include <queso/GslVector.h>
27 #include <queso/GslMatrix.h>
32 template <
class S_V,
class S_M,
class D_V,
class D_M,
class P_V,
class P_M,
class Q_V,
class Q_M>
35 bool allOutputsAreScalar,
39 m_z_size (s.m_w_size),
40 m_z_space (m_env,
"z_", m_z_size, NULL),
41 m_Zvec_hat (m_z_space.zeroVector()),
44 m_tmp_Smat_z (m_z_space.zeroVector()),
45 m_tmp_Smat_extra (m_z_space.zeroVector()),
46 m_tmp_Smat_z_hat (m_z_space.zeroVector()),
47 m_tmp_Smat_z_hat_inv(m_z_space.zeroVector())
50 *
m_env.
subDisplayFile() <<
"Entering GcmZInfo<S_V,S_M,D_V,D_M,P_V,P_M,Q_V,Q_M>::constructor(1)"
64 *
m_env.
subDisplayFile() <<
"Leaving GcmZInfo<S_V,S_M,D_V,D_M,P_V,P_M,Q_V,Q_M>::constructor(1)"
70 template <
class S_V,
class S_M,
class D_V,
class D_M,
class P_V,
class P_M,
class Q_V,
class Q_M>
73 bool allOutputsAreScalar,
79 m_z_size (s.m_w_size + e.m_v_size + jj.m_u_size),
80 m_z_space (m_env,
"z_", m_z_size, NULL),
81 m_Zvec_hat (m_z_space.zeroVector()),
84 m_tmp_Smat_z (m_z_space.zeroVector()),
85 m_tmp_Smat_extra (m_z_space.zeroVector()),
86 m_tmp_Smat_z_hat (m_z_space.zeroVector()),
87 m_tmp_Smat_z_hat_inv(m_z_space.zeroVector())
90 *
m_env.
subDisplayFile() <<
"Entering GcmZInfo<S_V,S_M,D_V,D_M,P_V,P_M,Q_V,Q_M>::constructor(2)"
91 <<
": formCMatrix = " << formCMatrix
113 m_Cmat_rank=
m_Cmat->rank(0.,1.e-8 );
114 unsigned int cRank14 =
m_Cmat->rank(0.,1.e-14);
117 <<
": m_Cmat.numRowsLocal() = " <<
m_Cmat->numRowsLocal()
118 <<
", m_Cmat.numCols() = " <<
m_Cmat->numCols()
119 <<
", m_Cmat.rank(0.,1.e-8) = " << m_Cmat_rank
120 <<
", m_Cmat.rank(0.,1.e-14) = " << cRank14
141 *
m_env.
subDisplayFile() <<
"Leaving GcmZInfo<S_V,S_M,D_V,D_M,P_V,P_M,Q_V,Q_M>::constructor(2)"
147 template <
class S_V,
class S_M,
class D_V,
class D_M,
class P_V,
class P_M,
class Q_V,
class Q_M>
149 bool allOutputsAreScalar,
154 m_z_size (s.m_w_size + e.m_v_size),
155 m_z_space (m_env,
"z_", m_z_size, NULL),
156 m_Zvec_hat (m_z_space.zeroVector()),
159 m_tmp_Smat_z (m_z_space.zeroVector()),
160 m_tmp_Smat_extra (m_z_space.zeroVector()),
161 m_tmp_Smat_z_hat (m_z_space.zeroVector()),
162 m_tmp_Smat_z_hat_inv(m_z_space.zeroVector())
165 *
m_env.
subDisplayFile() <<
"Entering GcmZInfo<S_V,S_M,D_V,D_M,P_V,P_M,Q_V,Q_M>::constructor(3)"
167 <<
", some entities just created (not yet populated)"
168 <<
", m_Zvec_hat.sizeLocal() = " <<
m_Zvec_hat.sizeLocal()
184 *
m_env.
subDisplayFile() <<
"Leaving GcmZInfo<S_V,S_M,D_V,D_M,P_V,P_M,Q_V,Q_M>::constructor(3)"
189 template <
class S_V,
class S_M,
class D_V,
class D_M,
class P_V,
class P_M,
class Q_V,
class Q_M>
195 template <
class S_V,
class S_M,
class D_V,
class D_M,
class P_V,
class P_M,
class Q_V,
class Q_M>
202 if ((m_env.subDisplayFile()) && (m_env.displayVerbosity() >= 2)) {
203 *m_env.subDisplayFile() <<
"In GcnZInfo<S_V,S_M,D_V,D_M,P_V,P_M,Q_V,Q_M>::commonConstructor()"
204 <<
"\n 'z' vector size = " << m_z_space.dimLocal()
unsigned int displayVerbosity() const
const BaseEnvironment & m_env
unsigned int dimLocal() const
const Map & map() const
Map.
unsigned int m_paper_p_delta
#define queso_require_less_equal_msg(expr1, expr2, msg)
#define queso_require_equal_to_msg(expr1, expr2, msg)
unsigned int m_paper_p_eta
VectorSpace< D_V, D_M > m_z_space
#define queso_require_msg(asserted, msg)
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
GcmZInfo(bool formCMatrix, bool allOutputsAreScalar, const GcmSimulationInfo< S_V, S_M, P_V, P_M, Q_V, Q_M > &s)
VectorSpace< D_V, D_M > m_omega_space
#define queso_require_greater_msg(expr1, expr2, msg)