ceed-preconditioning.c (480fae850cb0898970f2dd40c5ea1abc8a8b0488) ceed-preconditioning.c (af99e877c3926a7f0e7fcdc9f8dc4e967f80342a)
1// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
2// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
3// reserved. See files LICENSE and NOTICE for details.
4//
5// This file is part of CEED, a collection of benchmarks, miniapps, software
6// libraries and APIs for efficient high-order finite element and spectral
7// element discretizations for exascale applications. For more information and
8// source code availability see http://github.com/ceed.

--- 867 unchanged lines hidden (view full) ---

876 CeedChk(ierr);
877 } else {
878 ierr = CeedOperatorSetField(*op_coarse, op_fine->output_fields[i]->field_name,
879 op_fine->output_fields[i]->elem_restr,
880 op_fine->output_fields[i]->basis,
881 op_fine->output_fields[i]->vec); CeedChk(ierr);
882 }
883 }
1// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
2// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
3// reserved. See files LICENSE and NOTICE for details.
4//
5// This file is part of CEED, a collection of benchmarks, miniapps, software
6// libraries and APIs for efficient high-order finite element and spectral
7// element discretizations for exascale applications. For more information and
8// source code availability see http://github.com/ceed.

--- 867 unchanged lines hidden (view full) ---

876 CeedChk(ierr);
877 } else {
878 ierr = CeedOperatorSetField(*op_coarse, op_fine->output_fields[i]->field_name,
879 op_fine->output_fields[i]->elem_restr,
880 op_fine->output_fields[i]->basis,
881 op_fine->output_fields[i]->vec); CeedChk(ierr);
882 }
883 }
884 // -- Clone QFunctionAssemblyData
885 ierr = CeedQFunctionAssemblyDataReferenceCopy(op_fine->qf_assembled,
886 &(*op_coarse)->qf_assembled); CeedChk(ierr);
884
885 // Multiplicity vector
886 CeedVector mult_vec, mult_e_vec;
887 ierr = CeedElemRestrictionCreateVector(rstr_fine, &mult_vec, &mult_e_vec);
888 CeedChk(ierr);
889 ierr = CeedVectorSetValue(mult_e_vec, 0.0); CeedChk(ierr);
890 ierr = CeedElemRestrictionApply(rstr_fine, CEED_NOTRANSPOSE, p_mult_fine,
891 mult_e_vec, CEED_REQUEST_IMMEDIATE); CeedChk(ierr);

--- 1342 unchanged lines hidden ---
887
888 // Multiplicity vector
889 CeedVector mult_vec, mult_e_vec;
890 ierr = CeedElemRestrictionCreateVector(rstr_fine, &mult_vec, &mult_e_vec);
891 CeedChk(ierr);
892 ierr = CeedVectorSetValue(mult_e_vec, 0.0); CeedChk(ierr);
893 ierr = CeedElemRestrictionApply(rstr_fine, CEED_NOTRANSPOSE, p_mult_fine,
894 mult_e_vec, CEED_REQUEST_IMMEDIATE); CeedChk(ierr);

--- 1342 unchanged lines hidden ---