mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: adjointRASModel now returns a reference
to the primal and adjoint solver names
This commit is contained in:
committed by
Andrew Heather
parent
aee0c30a3e
commit
0fb515298d
@ -5,8 +5,8 @@
|
||||
\\ / A nd | www.openfoam.com
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2007-2019 PCOpt/NTUA
|
||||
Copyright (C) 2013-2019 FOSS GP
|
||||
Copyright (C) 2007-2020 PCOpt/NTUA
|
||||
Copyright (C) 2013-2020 FOSS GP
|
||||
Copyright (C) 2019 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -222,6 +222,18 @@ public:
|
||||
return coeffDict_;
|
||||
}
|
||||
|
||||
//- Const access to the primal solver name
|
||||
const word& primalSolverName() const
|
||||
{
|
||||
return primalVars_.solverName();
|
||||
}
|
||||
|
||||
//- Const access to the adjoint solver name
|
||||
const word& adjointSolverName() const
|
||||
{
|
||||
return adjointVars_.solverName();
|
||||
}
|
||||
|
||||
//- Return non-constant reference to adjoint turbulence model variable 1
|
||||
// Will allocate and return a zero field in case it does not exist
|
||||
volScalarField& getAdjointTMVariable1Inst();
|
||||
|
||||
Reference in New Issue
Block a user