Public Member Functions | |
| FunctionSupportResolver (const Expr &eqns, const Expr &bcs, const Array< Expr > &vars, const Array< Expr > &unks, const Expr &unkParams, const Expr ¶ms, const Array< Expr > &fixedFields, bool isVariational) | |
| Expr | flattenSpectral (const Expr &input) const |
| Array< Expr > | flattenSpectral (const Array< Expr > &input) const |
| bool | hasBCs () const |
| const SumOfIntegrals * | integralSum () const |
| const SumOfBCs * | bcSum () const |
| const Array< Expr > & | unks () const |
| const Array< Expr > & | vars () const |
| const Array< Expr > & | fixedFields () const |
| const Expr & | fixedParams () const |
| const Expr & | unkParams () const |
| const Set< int > & | varFuncSet () const |
| const Set< int > & | unkFuncSet () const |
| const Set< int > & | unkParamSet () const |
| const Set< int > & | fixedParamSet () const |
Getting information about functions | |
| int | numVarBlocks () const |
| int | numUnkBlocks () const |
| int | numUnkParams () const |
| int | numFixedParams () const |
| int | numVars (int block) const |
| int | numUnks (int block) const |
| int | numVarIDs (int block) const |
| int | numUnkIDs (int block) const |
| RCP< const CommonFuncDataStub > | varFuncData (int b, int i) const |
| RCP< const CommonFuncDataStub > | unkFuncData (int b, int i) const |
| const Expr & | unkParam (int i) const |
| bool | hasVarID (int fid) const |
| bool | hasUnkID (int fid) const |
| bool | hasUnkParamID (int fid) const |
| bool | hasFixedParamID (int fid) const |
| int | blockForVarID (int varID) const |
| int | blockForUnkID (int unkID) const |
Finding the functions that appear on regions | |
| const Set< int > & | varsOnRegion (int d) const |
| const Set< int > & | unksOnRegion (int d) const |
| const Set< int > & | bcVarsOnRegion (int d) const |
| const Set< int > & | bcUnksOnRegion (int d) const |
| const Array< Set< int > > & | reducedVarsOnRegion (const OrderedHandle< CellFilterStub > &r) const |
| const Array< Set< int > > & | reducedUnksOnRegion (const OrderedHandle< CellFilterStub > &r) const |
Transforming between unreduced and reduced function IDs | |
| int | reducedVarID (int varID) const |
| int | reducedUnkID (int unkID) const |
| int | reducedUnkParamID (int unkID) const |
| int | reducedFixedParamID (int unkID) const |
| int | unreducedVarID (int block, int reducedVarID) const |
| int | unreducedUnkID (int block, int reducedUnkID) const |
| int | unreducedUnkParamID (int reducedUnkParamID) const |
| int | unreducedFixedParamID (int reducedFixedParamID) const |
| const Map< int, int > & | fixedParamIDToReducedFixedParamIDMap () const |
Finding integration regions for the equation set | |
| int | numRegions () const |
| const RCP< CellFilterStub > & | region (int d) const |
| int | indexForRegion (const OrderedHandle< CellFilterStub > ®ion) const |
| bool | isBCRegion (int d) const |
| const Set< OrderedHandle < CellFilterStub > > & | regionsForTestFunc (int unreducedTestID) const |
| const Set< OrderedHandle < CellFilterStub > > & | regionsForUnkFunc (int unreducedUnkID) const |
Private Attributes | |
| Expr | eqns_ |
| Expr | bcs_ |
| const SumOfIntegrals * | integralSum_ |
| const SumOfBCs * | bcSum_ |
| Set< int > | varFuncSet_ |
| Set< int > | unkFuncSet_ |
| Set< int > | unkParamSet_ |
| Set< int > | fixedParamSet_ |
| Array< OrderedHandle < CellFilterStub > > | regions_ |
| Map< OrderedHandle < CellFilterStub >, int > | regionToIndexMap_ |
| Map< OrderedHandle < CellFilterStub >, Set< int > > | varsOnRegions_ |
| Map< OrderedHandle < CellFilterStub >, Set< int > > | unksOnRegions_ |
| Array< Array< Set< int > > > | reducedVarsOnRegions_ |
| Array< Array< Set< int > > > | reducedUnksOnRegions_ |
| Map< OrderedHandle < CellFilterStub >, Set< int > > | bcVarsOnRegions_ |
| Map< OrderedHandle < CellFilterStub >, Set< int > > | bcUnksOnRegions_ |
| Map< int, Set< OrderedHandle < CellFilterStub > > > | testToRegionsMap_ |
| Map< int, Set< OrderedHandle < CellFilterStub > > > | unkToRegionsMap_ |
| Array< Array< RCP< const CommonFuncDataStub > > > | varFuncData_ |
| Array< Array< RCP< const CommonFuncDataStub > > > | unkFuncData_ |
| Array< Expr > | varFuncs_ |
| Array< Expr > | unkFuncs_ |
| Array< Expr > | fixedFields_ |
| Array< Expr > | unkLinearizationPts_ |
| Expr | unkParams_ |
| Expr | fixedParams_ |
| Array< Map< int, int > > | varIDToReducedIDMap_ |
| Array< Map< int, int > > | unkIDToReducedIDMap_ |
| Map< int, int > | unkParamIDToReducedUnkParamIDMap_ |
| Map< int, int > | fixedParamIDToReducedFixedParamIDMap_ |
| Map< int, int > | varIDToBlockMap_ |
| Map< int, int > | unkIDToBlockMap_ |
| Array< Array< int > > | reducedVarID_ |
| Array< Array< int > > | reducedUnkID_ |
| Array< int > | reducedUnkParamID_ |
| Array< int > | reducedFixedParamID_ |
| Array< Array< int > > | unreducedVarID_ |
| Array< Array< int > > | unreducedUnkID_ |
| Array< int > | unreducedUnkParamID_ |
| Array< int > | unreducedFixedParamID_ |
| bool | isNonlinear_ |
| bool | isVariationalProblem_ |
Definition at line 61 of file SundanceFunctionSupportResolver.hpp.
| FunctionSupportResolver::FunctionSupportResolver | ( | const Expr & | eqns, |
| const Expr & | bcs, | ||
| const Array< Expr > & | vars, | ||
| const Array< Expr > & | unks, | ||
| const Expr & | unkParams, | ||
| const Expr & | params, | ||
| const Array< Expr > & | fixedFields, | ||
| bool | isVariational | ||
| ) |
Definition at line 58 of file SundanceFunctionSupportResolver.cpp.
References bcSum_, bcUnksOnRegions_, bcVarsOnRegions_, Sundance::Set< Key, Compare >::begin(), blockForUnkID(), blockForVarID(), Sundance::Set< Key, Compare >::contains(), Sundance::Map< Key, Value, Compare >::containsKey(), Sundance::FunctionIdentifier::dofID(), Sundance::RegionQuadCombo::domain(), Sundance::Set< Key, Compare >::elements(), Sundance::Set< Key, Compare >::end(), Sundance::SumOfIntegrals::eqnSetSetupVerb(), Sundance::FunctionWithID::fid(), fixedParamIDToReducedFixedParamIDMap_, fixedParamSet_, Sundance::SumOfIntegrals::funcsOnRegion(), Sundance::Map< Key, Value, Compare >::get(), Sundance::getSharedFunctionData(), hasBCs(), Sundance::SumOfIntegrals::hasWatchedTerm(), integralSum_, Sundance::WatchFlag::isActive(), isVariationalProblem_, Playa::max(), Sundance::Set< Key, Compare >::merge(), numUnkBlocks(), numVarBlocks(), Sundance::WatchFlag::param(), Playa::Handle< PointerType >::ptr(), Sundance::Map< Key, Value, Compare >::put(), Sundance::Set< Key, Compare >::put(), reducedUnkID(), reducedUnksOnRegions_, reducedVarID(), reducedVarsOnRegions_, regions_, regionToIndexMap_, Sundance::SumOfIntegrals::rqcToExprMap(), Sundance::Expr::size(), SUNDANCE_BANNER1, SUNDANCE_MSG1, SUNDANCE_MSG2, SUNDANCE_MSG3, testToRegionsMap_, unkFuncData_, unkFuncSet_, unkIDToBlockMap_, unkIDToReducedIDMap_, unkParamIDToReducedUnkParamIDMap_, unkParamSet_, unksOnRegion(), unksOnRegions_, unkToRegionsMap_, unreducedFixedParamID_, unreducedUnkID_, unreducedUnkParamID_, unreducedVarID_, varFuncData_, varFuncSet_, varIDToBlockMap_, varIDToReducedIDMap_, varsOnRegion(), varsOnRegions_, and Sundance::RegionQuadCombo::watch().
| const SumOfBCs* Sundance::FunctionSupportResolver::bcSum | ( | ) | const [inline] |
Access to BCs
Definition at line 276 of file SundanceFunctionSupportResolver.hpp.
References bcSum_.
| const Set<int>& Sundance::FunctionSupportResolver::bcUnksOnRegion | ( | int | d | ) | const [inline] |
Returns the unknown functions that appear in BCs on the d-th region. We can use this information to tag certain columns as BC columns in the event we're doing symmetrized BC application
Definition at line 168 of file SundanceFunctionSupportResolver.hpp.
References bcUnksOnRegions_, Sundance::Map< Key, Value, Compare >::get(), and regions_.
Referenced by Sundance::DOFMapBuilder::extractUnkSetsFromFSR(), and Sundance::DOFMapBuilder::getSubdomainUnkFuncMatches().
| const Set<int>& Sundance::FunctionSupportResolver::bcVarsOnRegion | ( | int | d | ) | const [inline] |
Returns the variational functions that appear in BCs on the d-th region. We can use this information to tag certain rows as BC rows
Definition at line 162 of file SundanceFunctionSupportResolver.hpp.
References bcVarsOnRegions_, Sundance::Map< Key, Value, Compare >::get(), and regions_.
Referenced by Sundance::DOFMapBuilder::extractVarSetsFromFSR(), and Sundance::DOFMapBuilder::getSubdomainVarFuncMatches().
| int FunctionSupportResolver::blockForUnkID | ( | int | unkID | ) | const |
get the block number for the unknown function having the specified unreduced funcID
Definition at line 549 of file SundanceFunctionSupportResolver.cpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), Sundance::Map< Key, Value, Compare >::get(), and unkIDToBlockMap_.
Referenced by FunctionSupportResolver(), Sundance::DOFMapBuilder::getSubdomainUnkFuncMatches(), and reducedUnkID().
| int FunctionSupportResolver::blockForVarID | ( | int | varID | ) | const |
get the block number for the variational function having the specified unreduced funcID
Definition at line 541 of file SundanceFunctionSupportResolver.cpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), Sundance::Map< Key, Value, Compare >::get(), and varIDToBlockMap_.
Referenced by FunctionSupportResolver(), Sundance::DOFMapBuilder::getSubdomainVarFuncMatches(), and reducedVarID().
| const Array<Expr>& Sundance::FunctionSupportResolver::fixedFields | ( | ) | const [inline] |
Definition at line 285 of file SundanceFunctionSupportResolver.hpp.
References fixedFields_.
| const Map<int, int>& Sundance::FunctionSupportResolver::fixedParamIDToReducedFixedParamIDMap | ( | ) | const [inline] |
Return the map from fixed param ID to reduced fixed param ID
Definition at line 224 of file SundanceFunctionSupportResolver.hpp.
References fixedParamIDToReducedFixedParamIDMap_.
| const Expr& Sundance::FunctionSupportResolver::fixedParams | ( | ) | const [inline] |
Definition at line 288 of file SundanceFunctionSupportResolver.hpp.
References fixedParams_.
| const Set<int>& Sundance::FunctionSupportResolver::fixedParamSet | ( | ) | const [inline] |
Definition at line 300 of file SundanceFunctionSupportResolver.hpp.
References fixedParamSet_.
| Expr FunctionSupportResolver::flattenSpectral | ( | const Expr & | input | ) | const |
Flatten a spectral expression into a list of its coefficients
Definition at line 472 of file SundanceFunctionSupportResolver.cpp.
References Sundance::Expr::flatten(), Playa::Handle< PointerType >::ptr(), and Sundance::Expr::size().
Referenced by flattenSpectral().
| Array< Expr > FunctionSupportResolver::flattenSpectral | ( | const Array< Expr > & | input | ) | const |
Flatten a spectral expression into a list of its coefficients
Definition at line 461 of file SundanceFunctionSupportResolver.cpp.
References flattenSpectral().
| bool FunctionSupportResolver::hasBCs | ( | ) | const |
Whether essential BCs are present
Definition at line 581 of file SundanceFunctionSupportResolver.cpp.
References bcSum_.
Referenced by FunctionSupportResolver().
| bool Sundance::FunctionSupportResolver::hasFixedParamID | ( | int | fid | ) | const [inline] |
Determine whether a given func ID is listed as a fixed parameter in this equation set
Definition at line 134 of file SundanceFunctionSupportResolver.hpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), and fixedParamIDToReducedFixedParamIDMap_.
Referenced by reducedFixedParamID().
| bool Sundance::FunctionSupportResolver::hasUnkID | ( | int | fid | ) | const [inline] |
Determine whether a given func ID is listed as a unk function in this equation set
Definition at line 124 of file SundanceFunctionSupportResolver.hpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), and unkIDToBlockMap_.
Referenced by reducedUnkID().
| bool Sundance::FunctionSupportResolver::hasUnkParamID | ( | int | fid | ) | const [inline] |
Determine whether a given func ID is listed as a unk parameter in this equation set
Definition at line 129 of file SundanceFunctionSupportResolver.hpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), and unkParamIDToReducedUnkParamIDMap_.
Referenced by reducedUnkParamID().
| bool Sundance::FunctionSupportResolver::hasVarID | ( | int | fid | ) | const [inline] |
Determine whether a given func ID is listed as a variational function in this equation set
Definition at line 119 of file SundanceFunctionSupportResolver.hpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), and varIDToBlockMap_.
Referenced by reducedVarID().
| int FunctionSupportResolver::indexForRegion | ( | const OrderedHandle< CellFilterStub > & | region | ) | const |
Returns the index of the given region
Definition at line 573 of file SundanceFunctionSupportResolver.cpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), Sundance::Map< Key, Value, Compare >::get(), and regionToIndexMap_.
Referenced by reducedUnksOnRegion(), and reducedVarsOnRegion().
| const SumOfIntegrals* Sundance::FunctionSupportResolver::integralSum | ( | ) | const [inline] |
Access to integrals
Definition at line 273 of file SundanceFunctionSupportResolver.hpp.
References integralSum_.
| bool Sundance::FunctionSupportResolver::isBCRegion | ( | int | d | ) | const [inline] |
Whether a region has BCs
Definition at line 244 of file SundanceFunctionSupportResolver.hpp.
References bcVarsOnRegions_, Sundance::Map< Key, Value, Compare >::containsKey(), and regions_.
| int Sundance::FunctionSupportResolver::numFixedParams | ( | ) | const [inline] |
Returns the number of fixed parameters
Definition at line 88 of file SundanceFunctionSupportResolver.hpp.
References fixedParams_, and Sundance::Expr::size().
| int Sundance::FunctionSupportResolver::numRegions | ( | ) | const [inline] |
Returns the number of regions on which pieces of the equation or BCs are defined.
Definition at line 234 of file SundanceFunctionSupportResolver.hpp.
References regions_.
Referenced by Sundance::DOFMapBuilder::extractUnkSetsFromFSR(), Sundance::DOFMapBuilder::extractVarSetsFromFSR(), Sundance::DOFMapBuilder::getSubdomainUnkFuncMatches(), and Sundance::DOFMapBuilder::getSubdomainVarFuncMatches().
| int Sundance::FunctionSupportResolver::numUnkBlocks | ( | ) | const [inline] |
Returns the number of unknown function blocks
Definition at line 82 of file SundanceFunctionSupportResolver.hpp.
References unkFuncs_.
Referenced by FunctionSupportResolver(), and Sundance::DOFMapBuilder::getSubdomainUnkFuncMatches().
| int Sundance::FunctionSupportResolver::numUnkIDs | ( | int | block | ) | const [inline] |
Returns the number of unk function IDs in this block. This will differ from the number of unknown functions in cases where a vector field uses a single vector-valued basis rather than scalar bases for each component.
Definition at line 106 of file SundanceFunctionSupportResolver.hpp.
References unkFuncData_.
| int Sundance::FunctionSupportResolver::numUnkParams | ( | ) | const [inline] |
Returns the number of unknown parameters
Definition at line 85 of file SundanceFunctionSupportResolver.hpp.
References Sundance::Expr::size(), and unkParams_.
| int Sundance::FunctionSupportResolver::numUnks | ( | int | block | ) | const [inline] |
Returns the number of unk functions in this block
Definition at line 94 of file SundanceFunctionSupportResolver.hpp.
References unkFuncs_.
| int Sundance::FunctionSupportResolver::numVarBlocks | ( | ) | const [inline] |
Returns the number of variational function blocks
Definition at line 79 of file SundanceFunctionSupportResolver.hpp.
References varFuncs_.
Referenced by FunctionSupportResolver(), and Sundance::DOFMapBuilder::getSubdomainVarFuncMatches().
| int Sundance::FunctionSupportResolver::numVarIDs | ( | int | block | ) | const [inline] |
Returns the number of variational function IDs in this block. This will differ from the number of variational functions in cases where a vector field uses a single vector-valued basis rather than scalar bases for each component.
Definition at line 100 of file SundanceFunctionSupportResolver.hpp.
References varFuncData_.
| int Sundance::FunctionSupportResolver::numVars | ( | int | block | ) | const [inline] |
Returns the number of variational functions in this block
Definition at line 91 of file SundanceFunctionSupportResolver.hpp.
References varFuncs_.
| int FunctionSupportResolver::reducedFixedParamID | ( | int | unkID | ) | const |
get the reduced ID for the fixed parameter having the given funcID
Definition at line 533 of file SundanceFunctionSupportResolver.cpp.
References fixedParamIDToReducedFixedParamIDMap_, Sundance::Map< Key, Value, Compare >::get(), and hasFixedParamID().
Referenced by unreducedFixedParamID().
| int FunctionSupportResolver::reducedUnkID | ( | int | unkID | ) | const |
get the reduced ID for the unknown function having the given funcID
Definition at line 515 of file SundanceFunctionSupportResolver.cpp.
References blockForUnkID(), hasUnkID(), and unkIDToReducedIDMap_.
Referenced by FunctionSupportResolver(), and unreducedUnkID().
| int FunctionSupportResolver::reducedUnkParamID | ( | int | unkID | ) | const |
get the reduced ID for the unk parameter having the given funcID
Definition at line 525 of file SundanceFunctionSupportResolver.cpp.
References Sundance::Map< Key, Value, Compare >::get(), hasUnkParamID(), and unkParamIDToReducedUnkParamIDMap_.
Referenced by unreducedUnkParamID().
| const Array<Set<int> >& Sundance::FunctionSupportResolver::reducedUnksOnRegion | ( | const OrderedHandle< CellFilterStub > & | r | ) | const [inline] |
Returns the reduced unknown functions that appear explicitly on the d-th region.
Definition at line 178 of file SundanceFunctionSupportResolver.hpp.
References indexForRegion(), and reducedUnksOnRegions_.
| int FunctionSupportResolver::reducedVarID | ( | int | varID | ) | const |
get the reduced ID for the variational function having the specified unreduced funcID
Definition at line 506 of file SundanceFunctionSupportResolver.cpp.
References blockForVarID(), hasVarID(), and varIDToReducedIDMap_.
Referenced by FunctionSupportResolver(), and unreducedVarID().
| const Array<Set<int> >& Sundance::FunctionSupportResolver::reducedVarsOnRegion | ( | const OrderedHandle< CellFilterStub > & | r | ) | const [inline] |
Returns the reduced variational functions that appear explicitly on the d-th region
Definition at line 173 of file SundanceFunctionSupportResolver.hpp.
References indexForRegion(), and reducedVarsOnRegions_.
| const RCP<CellFilterStub>& Sundance::FunctionSupportResolver::region | ( | int | d | ) | const [inline] |
Returns the d-th region for this equation set
Definition at line 237 of file SundanceFunctionSupportResolver.hpp.
References regions_.
Referenced by Sundance::DOFMapBuilder::extractUnkSetsFromFSR(), Sundance::DOFMapBuilder::extractVarSetsFromFSR(), Sundance::DOFMapBuilder::getSubdomainUnkFuncMatches(), and Sundance::DOFMapBuilder::getSubdomainVarFuncMatches().
| const Set< OrderedHandle< CellFilterStub > > & FunctionSupportResolver::regionsForTestFunc | ( | int | unreducedTestID | ) | const |
Return the set of regions on which the specified test func appears.
Definition at line 557 of file SundanceFunctionSupportResolver.cpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), Sundance::Map< Key, Value, Compare >::get(), and testToRegionsMap_.
| const Set< OrderedHandle< CellFilterStub > > & FunctionSupportResolver::regionsForUnkFunc | ( | int | unreducedUnkID | ) | const |
Return the set of regions on which the specified unknown func appears
Definition at line 565 of file SundanceFunctionSupportResolver.cpp.
References Sundance::Map< Key, Value, Compare >::containsKey(), Sundance::Map< Key, Value, Compare >::get(), testToRegionsMap_, and unkToRegionsMap_.
| RCP<const CommonFuncDataStub> Sundance::FunctionSupportResolver::unkFuncData | ( | int | b, |
| int | i | ||
| ) | const [inline] |
Returns the data for the i-th unknown function in block b
Definition at line 112 of file SundanceFunctionSupportResolver.hpp.
References unkFuncData_.
| const Set<int>& Sundance::FunctionSupportResolver::unkFuncSet | ( | ) | const [inline] |
Definition at line 296 of file SundanceFunctionSupportResolver.hpp.
References unkFuncSet_.
| const Expr& Sundance::FunctionSupportResolver::unkParam | ( | int | i | ) | const [inline] |
Returns the i-th unknown parameter
Definition at line 115 of file SundanceFunctionSupportResolver.hpp.
References unkParams_.
| const Expr& Sundance::FunctionSupportResolver::unkParams | ( | ) | const [inline] |
Definition at line 291 of file SundanceFunctionSupportResolver.hpp.
References unkParams_.
| const Set<int>& Sundance::FunctionSupportResolver::unkParamSet | ( | ) | const [inline] |
Definition at line 298 of file SundanceFunctionSupportResolver.hpp.
References unkParamSet_.
| const Array<Expr>& Sundance::FunctionSupportResolver::unks | ( | ) | const [inline] |
Definition at line 279 of file SundanceFunctionSupportResolver.hpp.
References unkFuncs_.
| const Set<int>& Sundance::FunctionSupportResolver::unksOnRegion | ( | int | d | ) | const [inline] |
Returns the unknown functions that appear explicitly on the d-th region.
Definition at line 156 of file SundanceFunctionSupportResolver.hpp.
References Sundance::Map< Key, Value, Compare >::get(), regions_, and unksOnRegions_.
Referenced by Sundance::DOFMapBuilder::extractUnkSetsFromFSR(), FunctionSupportResolver(), and Sundance::DOFMapBuilder::getSubdomainUnkFuncMatches().
| int Sundance::FunctionSupportResolver::unreducedFixedParamID | ( | int | reducedFixedParamID | ) | const [inline] |
get the unreduced funcID for a fixed parameter as specified by a reduced ID
Definition at line 220 of file SundanceFunctionSupportResolver.hpp.
References reducedFixedParamID(), and unreducedFixedParamID_.
| int Sundance::FunctionSupportResolver::unreducedUnkID | ( | int | block, |
| int | reducedUnkID | ||
| ) | const [inline] |
get the unreduced funcID for an unknown function as specified by a reduced ID and block index
Definition at line 210 of file SundanceFunctionSupportResolver.hpp.
References reducedUnkID(), and unreducedUnkID_.
| int Sundance::FunctionSupportResolver::unreducedUnkParamID | ( | int | reducedUnkParamID | ) | const [inline] |
get the unreduced funcID for an unknown parameter as specified by a reduced ID
Definition at line 215 of file SundanceFunctionSupportResolver.hpp.
References reducedUnkParamID(), and unreducedUnkParamID_.
| int Sundance::FunctionSupportResolver::unreducedVarID | ( | int | block, |
| int | reducedVarID | ||
| ) | const [inline] |
get the unreduced funcID for a variational function as specified by a reduced ID and block index
Definition at line 205 of file SundanceFunctionSupportResolver.hpp.
References reducedVarID(), and unreducedVarID_.
| RCP<const CommonFuncDataStub> Sundance::FunctionSupportResolver::varFuncData | ( | int | b, |
| int | i | ||
| ) | const [inline] |
Returns the data for the i-th variational function in block b
Definition at line 109 of file SundanceFunctionSupportResolver.hpp.
References varFuncData_.
| const Set<int>& Sundance::FunctionSupportResolver::varFuncSet | ( | ) | const [inline] |
Definition at line 294 of file SundanceFunctionSupportResolver.hpp.
References varFuncSet_.
| const Array<Expr>& Sundance::FunctionSupportResolver::vars | ( | ) | const [inline] |
Definition at line 282 of file SundanceFunctionSupportResolver.hpp.
References varFuncs_.
| const Set<int>& Sundance::FunctionSupportResolver::varsOnRegion | ( | int | d | ) | const [inline] |
Returns the variational functions that appear explicitly on the d-th region
Definition at line 151 of file SundanceFunctionSupportResolver.hpp.
References Sundance::Map< Key, Value, Compare >::get(), regions_, and varsOnRegions_.
Referenced by Sundance::DOFMapBuilder::extractVarSetsFromFSR(), FunctionSupportResolver(), and Sundance::DOFMapBuilder::getSubdomainVarFuncMatches().
Expr Sundance::FunctionSupportResolver::bcs_ [private] |
Definition at line 309 of file SundanceFunctionSupportResolver.hpp.
const SumOfBCs* Sundance::FunctionSupportResolver::bcSum_ [private] |
Definition at line 315 of file SundanceFunctionSupportResolver.hpp.
Referenced by bcSum(), FunctionSupportResolver(), and hasBCs().
Map<OrderedHandle<CellFilterStub>, Set<int> > Sundance::FunctionSupportResolver::bcUnksOnRegions_ [private] |
Definition at line 351 of file SundanceFunctionSupportResolver.hpp.
Referenced by bcUnksOnRegion(), and FunctionSupportResolver().
Map<OrderedHandle<CellFilterStub>, Set<int> > Sundance::FunctionSupportResolver::bcVarsOnRegions_ [private] |
Definition at line 348 of file SundanceFunctionSupportResolver.hpp.
Referenced by bcVarsOnRegion(), FunctionSupportResolver(), and isBCRegion().
Expr Sundance::FunctionSupportResolver::eqns_ [private] |
Definition at line 306 of file SundanceFunctionSupportResolver.hpp.
Array<Expr> Sundance::FunctionSupportResolver::fixedFields_ [private] |
fixed functions for this equation set
Definition at line 372 of file SundanceFunctionSupportResolver.hpp.
Referenced by fixedFields().
Map<int, int> Sundance::FunctionSupportResolver::fixedParamIDToReducedFixedParamIDMap_ [private] |
map from fixed param funcID to that param's position in list of fixed params
Definition at line 398 of file SundanceFunctionSupportResolver.hpp.
Referenced by fixedParamIDToReducedFixedParamIDMap(), FunctionSupportResolver(), hasFixedParamID(), and reducedFixedParamID().
fixed parameters for this equation set
Definition at line 382 of file SundanceFunctionSupportResolver.hpp.
Referenced by fixedParams(), and numFixedParams().
Set<int> Sundance::FunctionSupportResolver::fixedParamSet_ [private] |
Definition at line 327 of file SundanceFunctionSupportResolver.hpp.
Referenced by fixedParamSet(), and FunctionSupportResolver().
const SumOfIntegrals* Sundance::FunctionSupportResolver::integralSum_ [private] |
Definition at line 312 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and integralSum().
bool Sundance::FunctionSupportResolver::isNonlinear_ [private] |
Flag indicating whether this equation set is nonlinear
Definition at line 433 of file SundanceFunctionSupportResolver.hpp.
bool Sundance::FunctionSupportResolver::isVariationalProblem_ [private] |
Flag indicating whether this equation set is a variational problem
Definition at line 437 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver().
Array<int> Sundance::FunctionSupportResolver::reducedFixedParamID_ [private] |
Map from unreduced fixed ID to reduced ID
Definition at line 418 of file SundanceFunctionSupportResolver.hpp.
Array<Array<int> > Sundance::FunctionSupportResolver::reducedUnkID_ [private] |
Map from (block, unreduced unk ID) to reduced ID
Definition at line 412 of file SundanceFunctionSupportResolver.hpp.
Array<int> Sundance::FunctionSupportResolver::reducedUnkParamID_ [private] |
Map from unreduced unk ID to reduced ID
Definition at line 415 of file SundanceFunctionSupportResolver.hpp.
Array<Array<Set<int> > > Sundance::FunctionSupportResolver::reducedUnksOnRegions_ [private] |
Definition at line 345 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and reducedUnksOnRegion().
Array<Array<int> > Sundance::FunctionSupportResolver::reducedVarID_ [private] |
Map from (block, unreduced var ID) to reduced ID
Definition at line 409 of file SundanceFunctionSupportResolver.hpp.
Array<Array<Set<int> > > Sundance::FunctionSupportResolver::reducedVarsOnRegions_ [private] |
Definition at line 342 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and reducedVarsOnRegion().
Array<OrderedHandle<CellFilterStub> > Sundance::FunctionSupportResolver::regions_ [private] |
Definition at line 330 of file SundanceFunctionSupportResolver.hpp.
Referenced by bcUnksOnRegion(), bcVarsOnRegion(), FunctionSupportResolver(), isBCRegion(), numRegions(), region(), unksOnRegion(), and varsOnRegion().
Map<OrderedHandle<CellFilterStub>, int> Sundance::FunctionSupportResolver::regionToIndexMap_ [private] |
Definition at line 333 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and indexForRegion().
Map<int, Set<OrderedHandle<CellFilterStub> > > Sundance::FunctionSupportResolver::testToRegionsMap_ [private] |
Definition at line 354 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), regionsForTestFunc(), and regionsForUnkFunc().
Array<Array<RCP<const CommonFuncDataStub> > > Sundance::FunctionSupportResolver::unkFuncData_ [private] |
unknown function data for this equation set
Definition at line 363 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), numUnkIDs(), and unkFuncData().
Array<Expr> Sundance::FunctionSupportResolver::unkFuncs_ [private] |
unknown functions for this equation set
Definition at line 369 of file SundanceFunctionSupportResolver.hpp.
Referenced by numUnkBlocks(), numUnks(), and unks().
Set<int> Sundance::FunctionSupportResolver::unkFuncSet_ [private] |
Definition at line 321 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and unkFuncSet().
Map<int, int> Sundance::FunctionSupportResolver::unkIDToBlockMap_ [private] |
map from unknown function funcID to that function's position in list of unk blocks
Definition at line 406 of file SundanceFunctionSupportResolver.hpp.
Referenced by blockForUnkID(), FunctionSupportResolver(), and hasUnkID().
Array<Map<int, int> > Sundance::FunctionSupportResolver::unkIDToReducedIDMap_ [private] |
map from unknown function funcID to that function's position in list of unk functions
Definition at line 390 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and reducedUnkID().
Array<Expr> Sundance::FunctionSupportResolver::unkLinearizationPts_ [private] |
The point in function space about which the equations are linearized
Definition at line 376 of file SundanceFunctionSupportResolver.hpp.
Map<int, int> Sundance::FunctionSupportResolver::unkParamIDToReducedUnkParamIDMap_ [private] |
map from unknown param funcID to that param's position in list of unk params
Definition at line 394 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), hasUnkParamID(), and reducedUnkParamID().
unknown parameters for this equation set
Definition at line 379 of file SundanceFunctionSupportResolver.hpp.
Referenced by numUnkParams(), unkParam(), and unkParams().
Set<int> Sundance::FunctionSupportResolver::unkParamSet_ [private] |
Definition at line 324 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and unkParamSet().
Map<OrderedHandle<CellFilterStub>, Set<int> > Sundance::FunctionSupportResolver::unksOnRegions_ [private] |
Definition at line 339 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and unksOnRegion().
Map<int, Set<OrderedHandle<CellFilterStub> > > Sundance::FunctionSupportResolver::unkToRegionsMap_ [private] |
Definition at line 357 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and regionsForUnkFunc().
Array<int> Sundance::FunctionSupportResolver::unreducedFixedParamID_ [private] |
Map from reduced fixedParamID to unreduced fixedParamID
Definition at line 430 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and unreducedFixedParamID().
Array<Array<int> > Sundance::FunctionSupportResolver::unreducedUnkID_ [private] |
Map from (block, reduced unkID) to unreduced unkID
Definition at line 424 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and unreducedUnkID().
Array<int> Sundance::FunctionSupportResolver::unreducedUnkParamID_ [private] |
Map from reduced unkParamID to unreduced unkParamID
Definition at line 427 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and unreducedUnkParamID().
Array<Array<int> > Sundance::FunctionSupportResolver::unreducedVarID_ [private] |
Map from (block, reduced varID) to unreduced varID
Definition at line 421 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and unreducedVarID().
Array<Array<RCP<const CommonFuncDataStub> > > Sundance::FunctionSupportResolver::varFuncData_ [private] |
var function data for this equation set
Definition at line 360 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), numVarIDs(), and varFuncData().
Array<Expr> Sundance::FunctionSupportResolver::varFuncs_ [private] |
var functions for this equation set
Definition at line 366 of file SundanceFunctionSupportResolver.hpp.
Referenced by numVarBlocks(), numVars(), and vars().
Set<int> Sundance::FunctionSupportResolver::varFuncSet_ [private] |
Definition at line 318 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and varFuncSet().
Map<int, int> Sundance::FunctionSupportResolver::varIDToBlockMap_ [private] |
map from variational function funcID to that function's position in list of var blocks
Definition at line 402 of file SundanceFunctionSupportResolver.hpp.
Referenced by blockForVarID(), FunctionSupportResolver(), and hasVarID().
Array<Map<int, int> > Sundance::FunctionSupportResolver::varIDToReducedIDMap_ [private] |
map from variational function funcID to that function's position in list of var functions
Definition at line 386 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and reducedVarID().
Map<OrderedHandle<CellFilterStub>, Set<int> > Sundance::FunctionSupportResolver::varsOnRegions_ [private] |
Definition at line 336 of file SundanceFunctionSupportResolver.hpp.
Referenced by FunctionSupportResolver(), and varsOnRegion().