Lines Matching refs:Nc
59 static PetscErrorCode zero(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscSca… in zero() argument
66 static PetscErrorCode ge_shift(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pets… in ge_shift() argument
74 static PetscErrorCode quadratic_2d_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc… in quadratic_2d_u() argument
81 static PetscErrorCode quadratic_3d_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc… in quadratic_3d_u() argument
147 static PetscErrorCode trig_2d_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pet… in trig_2d_u() argument
154 static PetscErrorCode trig_3d_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pet… in trig_3d_u() argument
208 static PetscErrorCode axial_disp_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, … in axial_disp_u() argument
262 …iform_strain_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u, Pet… in uniform_strain_u() argument
277 const PetscInt Nc = dim; in f0_mass_u() local
280 for (c = 0; c < Nc; ++c) f0[c] = u[c]; in f0_mass_u()
285 const PetscInt Nc = dim; in f1_vlap_u() local
288 for (c = 0; c < Nc; ++c) in f1_vlap_u()
296 const PetscInt Nc = dim; in f1_elas_u() local
298 for (PetscInt c = 0; c < Nc; ++c) { in f1_elas_u()
308 const PetscInt Nc = dim; in g0_mass_uu() local
311 for (c = 0; c < Nc; ++c) g0[c * Nc + c] = 1.0; in g0_mass_uu()
316 const PetscInt Nc = dim; in g3_vlap_uu() local
319 for (c = 0; c < Nc; ++c) { in g3_vlap_uu()
320 for (d = 0; d < dim; ++d) g3[((c * Nc + c) * dim + d) * dim + d] = 1.0; in g3_vlap_uu()
334 const PetscInt Nc = dim; in g3_elas_uu() local
336 for (PetscInt c = 0; c < Nc; ++c) { in g3_elas_uu()
338 g3[((c * Nc + c) * dim + d) * dim + d] += mu; in g3_elas_uu()
339 g3[((c * Nc + d) * dim + d) * dim + c] += mu; in g3_elas_uu()
340 g3[((c * Nc + d) * dim + c) * dim + d] += lambda; in g3_elas_uu()