55 for (
Dof *dof: *dman ) {
57 if ( type == V_u || type == V_v || type == V_w ) {
58 dof->askNewEquationNumber(currStep);
64 int innodes = elem->giveNumberOfInternalDofManagers();
65 for (
int k = 1; k <= innodes; k++ ) {
66 DofManager *dman = elem->giveInternalDofManager(k);
67 for (
Dof *dof: *dman ) {
69 if ( type == V_u || type == V_v || type == V_w ) {
70 dof->askNewEquationNumber(currStep);
76 for (
auto &bc : domain->
giveBcs() ) {
77 int innodes = bc->giveNumberOfInternalDofManagers();
78 for (
int k = 1; k <= innodes; k++ ) {
79 DofManager *dman = bc->giveInternalDofManager(k);
80 for (
Dof *dof: *dman ) {
82 if ( type == V_u || type == V_v || type == V_w ) {
83 dof->askNewEquationNumber(currStep);
91 for (
Dof *dof: *dman ) {
93 if ( !( type == V_u || type == V_v || type == V_w ) ) {
94 dof->askNewEquationNumber(currStep);
100 int innodes = elem->giveNumberOfInternalDofManagers();
101 for (
int k = 1; k <= innodes; k++ ) {
102 DofManager *dman = elem->giveInternalDofManager(k);
103 for (
Dof *dof: *dman ) {
105 if ( !( type == V_u || type == V_v || type == V_w ) ) {
106 dof->askNewEquationNumber(currStep);
112 for (
auto &bc : domain->
giveBcs() ) {
113 int innodes = bc->giveNumberOfInternalDofManagers();
114 for (
int k = 1; k <= innodes; k++ ) {
115 DofManager *dman = bc->giveInternalDofManager(k);
116 for (
Dof *dof: *dman ) {
118 if ( !( type == V_u || type == V_v || type == V_w ) ) {
119 dof->askNewEquationNumber(currStep);
Base class for dof managers.
std::vector< std::unique_ptr< DofManager > > & giveDofManagers()
int & at(int i)
Coefficient access function.
std::vector< std::unique_ptr< GeneralBoundaryCondition > > & giveBcs()
IntArray domainPrescribedNeqs
Number of prescribed equations per domain.
DofIDItem
Type representing particular dof type.
virtual int forceEquationNumbering()
Forces equation renumbering on all domains associated to engng model.
IntArray domainNeqs
Number of equations per domain.
std::vector< std::unique_ptr< Element > > & giveElements()
virtual TimeStep * giveCurrentStep(bool force=false)
Returns current time step.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Domain * giveDomain(int n)
Service for accessing particular problem domain.
Abstract class Dof represents Degree Of Freedom in finite element mesh.
Class representing solution step.