https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GrainForceAndTorqueInterface.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "MooseObject.h"
13
14namespace libMesh
15{
16template <typename>
17class VectorValue;
19}
20
25{
26public:
27 virtual const std::vector<RealGradient> & getForceValues() const = 0;
28 virtual const std::vector<RealGradient> & getTorqueValues() const = 0;
29 virtual const std::vector<Real> & getForceCJacobians() const = 0;
30 virtual const std::vector<std::vector<Real>> & getForceEtaJacobians() const = 0;
31};
This class provides interface for extracting the forces and torques computed in other UserObjects.
virtual const std::vector< RealGradient > & getTorqueValues() const =0
virtual const std::vector< Real > & getForceCJacobians() const =0
virtual const std::vector< std::vector< Real > > & getForceEtaJacobians() const =0
virtual const std::vector< RealGradient > & getForceValues() const =0
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
RealVectorValue RealGradient