Lines Matching refs:sgsdd_ctx
37 …R void DataDrivenInference(const CeedScalar *inputs, CeedScalar *outputs, SgsDDContext sgsdd_ctx) { in DataDrivenInference() argument
38 const CeedInt num_neurons = sgsdd_ctx->num_neurons; in DataDrivenInference()
39 const CeedInt num_inputs = sgsdd_ctx->num_inputs; in DataDrivenInference()
40 const CeedInt num_outputs = sgsdd_ctx->num_outputs; in DataDrivenInference()
41 const CeedScalar alpha = sgsdd_ctx->alpha; in DataDrivenInference()
42 const CeedScalar *bias1 = &sgsdd_ctx->data[sgsdd_ctx->offsets.bias1]; in DataDrivenInference()
43 const CeedScalar *bias2 = &sgsdd_ctx->data[sgsdd_ctx->offsets.bias2]; in DataDrivenInference()
44 const CeedScalar *weight1 = &sgsdd_ctx->data[sgsdd_ctx->offsets.weight1]; in DataDrivenInference()
45 const CeedScalar *weight2 = &sgsdd_ctx->data[sgsdd_ctx->offsets.weight2]; in DataDrivenInference()
56 … const CeedScalar viscosity, CeedScalar kmsgs_stress[6], SgsDDContext sgsdd_ctx) { in ComputeSgsDD_Fused() argument
59 CopyN(&sgsdd_ctx->data[sgsdd_ctx->offsets.out_scaling], (CeedScalar *)new_bounds, 12); in ComputeSgsDD_Fused()
62 DataDrivenInference(inputs, sgs_sframe_sym, sgsdd_ctx); in ComputeSgsDD_Fused()
75 const SgsDDContext sgsdd_ctx = (SgsDDContext)ctx; in ComputeSgsDDNodal_Fused() local
76 const NewtonianIGProperties gas = sgsdd_ctx->newt_ctx.gas; in ComputeSgsDDNodal_Fused()
90 ComputeSgsDD_Fused(grad_velo_aniso, km_A_ij, delta, gas.mu / s.U.density, km_sgs, sgsdd_ctx); in ComputeSgsDDNodal_Fused()
119 const SgsDDContext sgsdd_ctx = (SgsDDContext)ctx; in ComputeSgsDDNodal_Sequential_Inputs() local
120 const NewtonianIGProperties gas = sgsdd_ctx->newt_ctx.gas; in ComputeSgsDDNodal_Sequential_Inputs()
162 const SgsDDContext sgsdd_ctx = (SgsDDContext)ctx; in ComputeSgsDDNodal_Sequential_Inference() local
168 DataDrivenInference(model_inputs_i, model_outputs_i, sgsdd_ctx); in ComputeSgsDDNodal_Sequential_Inference()
183 const SgsDDContext sgsdd_ctx = (SgsDDContext)ctx; in ComputeSgsDDNodal_Sequential_Outputs() local
185 CopyN(&sgsdd_ctx->data[sgsdd_ctx->offsets.out_scaling], (CeedScalar *)new_bounds, 12); in ComputeSgsDDNodal_Sequential_Outputs()