Select Git revision
CGNSFunctions.cpp
Forked from
gmsh / gmsh
Source project has a limited visibility.
state.cpp 453 B
//Standard library
//GmshFem library
#include "Exception.h"
//GmshFWI Library
#include "state.h"
using namespace gmshfem;
using namespace gmshfem::common;
/*
* SensitivityState
*/
const ModelFunction& SensitivityState::state(Order order, Support support) const
{
if(!_isUpToDate[order][support])
{
throw Exception(order_to_string(order) + " sensitivity is not up to date while required.");
}
return _state[order][support];
}