void DircThreeSegBoxSim::build_readout_box()
{
	build_system();
	fill_threeseg_plane_vecs();
	fill_foc_mirror_vecs();
	fill_sens_plane_vecs();
	//still rebuild wedge and bars when this is called:
}
Пример #2
0
std::string FrameworkVersion::systemInfo() const {
	std::string s;
#ifndef WIN32
#ifdef WITH_BUILD_INFOS
	s += std::string("Compiler: ") + compiler_version() + "\n";
	s += std::string("Build system: ") + build_system() + "\n";
	s += std::string("OS: ") + os_version();
#endif
#endif
	return s;
}
Пример #3
0
bool calc_weights(
    const coord_t & center,
    std::vector<coord_t> & coords,
    const primary_cov_model_t & primary_cov,
    const cross_cov_model_t & cross_cov,
    double secondary_variance,
    std::vector<kriging_weight_t> & weights
)
{
    std::vector<double> A;
    std::vector<double> b;

    // build system
    build_system(center, coords, primary_cov, cross_cov, secondary_variance, A, b);
    // solve systemk
    return solve_system(A, b, weights);
}