| misc.h (2b730f8b5a9c809740a0b3b302db43a719c636b1) | misc.h (49aac155e7a09736f56fb3abac0f57dab29f7cbf) |
|---|---|
| 1// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. 2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3// 4// SPDX-License-Identifier: BSD-2-Clause 5// 6// This file is part of CEED: http://github.com/ceed 7 8#ifndef libceed_solids_examples_misc_h 9#define libceed_solids_examples_misc_h 10 11#include <ceed.h> | 1// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors. 2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 3// 4// SPDX-License-Identifier: BSD-2-Clause 5// 6// This file is part of CEED: http://github.com/ceed 7 8#ifndef libceed_solids_examples_misc_h 9#define libceed_solids_examples_misc_h 10 11#include <ceed.h> |
| 12#include <petsc.h> | 12#include <petscdm.h> 13#include <petscsnes.h> |
| 13 14#include "../include/structs.h" 15 16// ----------------------------------------------------------------------------- 17// Context setup 18// ----------------------------------------------------------------------------- 19// Setup context data for Jacobian evaluation 20PetscErrorCode SetupJacobianCtx(MPI_Comm comm, AppCtx app_ctx, DM dm, Vec V, Vec V_loc, CeedData ceed_data, Ceed ceed, CeedQFunctionContext ctx_phys, --- 24 unchanged lines hidden --- | 14 15#include "../include/structs.h" 16 17// ----------------------------------------------------------------------------- 18// Context setup 19// ----------------------------------------------------------------------------- 20// Setup context data for Jacobian evaluation 21PetscErrorCode SetupJacobianCtx(MPI_Comm comm, AppCtx app_ctx, DM dm, Vec V, Vec V_loc, CeedData ceed_data, Ceed ceed, CeedQFunctionContext ctx_phys, --- 24 unchanged lines hidden --- |