Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 5 of 5) sorted by relevance

/honee/problems/
H A Dstg_shur14.c71 CeedScalar *wall_dist = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in ReadStgInflow()
72 CeedScalar *eps = &stg_ctx->data[stg_ctx->offsets.eps]; in ReadStgInflow()
73 CeedScalar *lt = &stg_ctx->data[stg_ctx->offsets.lt]; in ReadStgInflow()
74 …(*ubar)[stg_ctx->nprofs] = (CeedScalar(*)[stg_ctx->nprofs]) & stg_ctx->data[stg_ctx->offsets.ubar]; in ReadStgInflow()
100 …ar(*cij)[stg_ctx->nprofs] = (CeedScalar(*)[stg_ctx->nprofs]) & stg_ctx->data[stg_ctx->offsets.cij]; in ReadStgInflow()
127 CeedScalar *phi = &stg_ctx->data[stg_ctx->offsets.phi]; in ReadStgRand()
128 …ar(*d)[stg_ctx->nmodes] = (CeedScalar(*)[stg_ctx->nmodes]) & stg_ctx->data[stg_ctx->offsets.d]; in ReadStgRand()
129 …sigma)[stg_ctx->nmodes] = (CeedScalar(*)[stg_ctx->nmodes]) & stg_ctx->data[stg_ctx->offsets.sigma]; in ReadStgRand()
183 temp_ctx->offsets.sigma = 0; in GetStgContextData()
184 temp_ctx->offsets.d = nmodes * 3; in GetStgContextData()
[all …]
H A Dsgs_dd_model.c605 sgsdd_temp->offsets.bias1 = 0; in SgsDDContextFill()
606 sgsdd_temp->offsets.bias2 = sgsdd_temp->offsets.bias1 + num_neurons; in SgsDDContextFill()
607 sgsdd_temp->offsets.weight1 = sgsdd_temp->offsets.bias2 + num_neurons; in SgsDDContextFill()
608 sgsdd_temp->offsets.weight2 = sgsdd_temp->offsets.weight1 + num_neurons * num_inputs; in SgsDDContextFill()
609 sgsdd_temp->offsets.out_scaling = sgsdd_temp->offsets.weight2 + num_inputs * num_neurons; in SgsDDContextFill()
610 PetscInt total_num_scalars = sgsdd_temp->offsets.out_scaling + 2 * num_outputs; in SgsDDContextFill()
618 …PetscCall(PhastaDatFileReadToArrayReal(comm, file_path, &sgsdd_ctx->data[sgsdd_ctx->offsets.bias1]… in SgsDDContextFill()
620 …PetscCall(PhastaDatFileReadToArrayReal(comm, file_path, &sgsdd_ctx->data[sgsdd_ctx->offsets.bias2]… in SgsDDContextFill()
622 …PetscCall(PhastaDatFileReadToArrayReal(comm, file_path, &sgsdd_ctx->data[sgsdd_ctx->offsets.out_sc… in SgsDDContextFill()
628 …PetscCall(TransposeMatrix(temp, &sgsdd_ctx->data[sgsdd_ctx->offsets.weight1], num_inputs, num_neur… in SgsDDContextFill()
[all …]
/honee/qfunctions/
H A Dstg_shur14.h39 const CeedScalar *prof_wd = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in InterpolateProfile()
40 const CeedScalar *prof_eps = &stg_ctx->data[stg_ctx->offsets.eps]; in InterpolateProfile()
41 const CeedScalar *prof_lt = &stg_ctx->data[stg_ctx->offsets.lt]; in InterpolateProfile()
42 const CeedScalar *prof_ubar = &stg_ctx->data[stg_ctx->offsets.ubar]; in InterpolateProfile()
43 const CeedScalar *prof_cij = &stg_ctx->data[stg_ctx->offsets.cij]; in InterpolateProfile()
126 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in CalcSpectrum()
155 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in StgShur14Calc()
156 const CeedScalar *phi = &stg_ctx->data[stg_ctx->offsets.phi]; in StgShur14Calc()
157 const CeedScalar *sigma = &stg_ctx->data[stg_ctx->offsets.sigma]; in StgShur14Calc()
158 const CeedScalar *d = &stg_ctx->data[stg_ctx->offsets.d]; in StgShur14Calc()
[all …]
H A Dsgs_dd_model.h28 } offsets; member
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()
59 CopyN(&sgsdd_ctx->data[sgsdd_ctx->offsets.out_scaling], (CeedScalar *)new_bounds, 12); in ComputeSgsDD_Fused()
185 CopyN(&sgsdd_ctx->data[sgsdd_ctx->offsets.out_scaling], (CeedScalar *)new_bounds, 12); in ComputeSgsDDNodal_Sequential_Outputs()
H A Dstg_shur14_type.h37 } offsets; // !< Holds offsets for each array in data member